Game Class Reference

#include <Game.h>

Inheritance diagram for Game:

Object

List of all members.

Public Member Functions

 Game (GlRenderer *renderer)
 Game (const Game &source)
 ~Game ()
void update (Uint32 time)
void quit ()
void loadLevel (string filename, Uint32 score)
bool isQuit ()
virtual string toString () const
 Returns a textual representation.
virtual string className () const
 Returns the class name of the object.
virtual enum classId classId () const
 Returns the class id of the object.

Private Attributes

MVBoardboard
MVFireflyfirefly
Controllercontroller
GlRendererrenderer
OrbitCameramainCam
CameraminimapCam
bool userQuit
PhongLightlight0
PhongLightlight1
HudFoodfoodBar
HudWaterwaterBar
HudInventoryinventory
HudScorescoreBoardBg
HudScorescoreBoard


Constructor & Destructor Documentation

Game::Game ( GlRenderer renderer  ) 

Game::Game ( const Game source  ) 

Game::~Game (  ) 


Member Function Documentation

void Game::update ( Uint32  time  ) 

void Game::quit (  ) 

void Game::loadLevel ( string  filename,
Uint32  score 
)

Align camera

bool Game::isQuit (  ) 

string Game::toString (  )  const [virtual]

Returns a textual representation.

Reimplemented from Object.

string Game::className (  )  const [virtual]

Returns the class name of the object.

Reimplemented from Object.

enum classId Game::classId (  )  const [virtual]

Returns the class id of the object.

Reimplemented from Object.


Member Data Documentation

MVBoard* Game::board [private]

bool Game::userQuit [private]

HudFood* Game::foodBar [private]


The documentation for this class was generated from the following files:

Generated on Mon Jul 7 13:30:33 2008 for Firefly by  doxygen 1.5.6