Public Member Functions | Public Attributes | Protected Attributes

GGame Class Reference

#include <GGame.h>

Inheritance diagram for GGame:
GSingletonManager< GGame >

List of all members.

Public Member Functions

int Initialize (int width, int height, string title, bool fullscreen)
int Load ()
int HandleInput (double time, double dtime, bool &CameraIsAttached)
int HandleAI (double time, double dtime, int flags)
int Update (double time, double dtime, int FLAGS)
int RenderScene (double time, double dtime, int FLAGS)
int Dispose ()
int FireGun (Creature *creature, double time, double dtime, int FLAGS)
int GetHeight ()
int GetWidth ()
Gamestate GetGameState ()
void SetGameState (Gamestate state)
int * GetGameToggle ()
double GetTime (void)
double GetDTime (void)

Public Attributes

int RandomTexId

Protected Attributes

int WindowWidth
int WindowHeight
unsigned int Collectables
Gamestate GameState
int GameToggle
double time
double dtime

Member Function Documentation

int GGame::Dispose (  ) 
int GGame::FireGun ( Creature creature,
double  time,
double  dtime,
int  FLAGS 
)
double GGame::GetDTime ( void   ) 
Gamestate GGame::GetGameState (  ) 
int * GGame::GetGameToggle (  ) 
int GGame::GetHeight (  ) 
double GGame::GetTime ( void   ) 
int GGame::GetWidth (  ) 
int GGame::HandleAI ( double  time,
double  dtime,
int  flags 
)
int GGame::HandleInput ( double  time,
double  dtime,
bool &  CameraIsAttached 
)
int GGame::Initialize ( int  width,
int  height,
string  title,
bool  fullscreen 
)
int GGame::Load (  ) 
int GGame::RenderScene ( double  time,
double  dtime,
int  FLAGS 
)
void GGame::SetGameState ( Gamestate  state  ) 
int GGame::Update ( double  time,
double  dtime,
int  FLAGS 
)

Member Data Documentation

unsigned int GGame::Collectables [protected]
double GGame::dtime [protected]
int GGame::GameToggle [protected]
double GGame::time [protected]
int GGame::WindowHeight [protected]
int GGame::WindowWidth [protected]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Friends Defines