![]() |
Box2D Cannon Game with Stars
Chapter 8 of Ian Parberry's "Introduction to Game Physics with Box2D"
|
The render world. More...
#include <RenderWorld.h>
Public Member Functions | |
| void | DrawWinLoseMessage (int shots, GameStateType state, int secs) |
| Draw win/lose text. | |
| void | LoadImages () |
| Load images. | |
The render world.
Render world handles the game-specific rendering tasks, relying on CRenderer to do all of the actual API-specific rendering.
| void CRenderWorld::DrawWinLoseMessage | ( | int | shots, |
| GameStateType | state, | ||
| int | secs | ||
| ) |
Draw win/lose text.
Tell the player whether they've won or lost by plastering a text banner across the screen.
| shots | Number of shots fired. |
| state | The game state, which tells whether the player has won or lost. |
| secs | Time to completion, in seconds. |
| void CRenderWorld::LoadImages | ( | ) |
Load images.
Load game images. Gets file list from gamesettings.xml.
1.8.2