Pool End Game
Chapter 3 of Ian Parberry's "Introduction to Game Physics with Box2D"
 All Classes Files Functions Variables Enumerations Pages
Public Member Functions | List of all members
CRenderWorld Class Reference

The render world. More...

#include <RenderWorld.h>

Inheritance diagram for CRenderWorld:

Public Member Functions

void DrawWinLoseMessage (GameStateType state)
 Draw win/lose text.
 
void LoadImages ()
 Load images.
 

Detailed Description

The render world.

Render world handles the game-specific rendering tasks, relying on CRenderer to do all of the actual API-specific rendering.

Member Function Documentation

void CRenderWorld::DrawWinLoseMessage ( GameStateType  state)

Draw win/lose text.

Tell the player whether they've won or lost by plastering a text banner across the screen.

Parameters
stateThe game state, which tells whether the player has won or lost.
void CRenderWorld::LoadImages ( )

Load images.

Load game images. Gets file list from gamesettings.xml.