GameState Class Reference

#include <GameState.h>

Inherited by MainGameState.

Inheritance diagram for GameState:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 8 of file GameState.h.

Public Member Functions

virtual void deinit ()=0
 GameState (Application *app)
virtual void init ()=0
virtual void processSDLEvent (SDL_Event &event)=0
virtual void update (unsigned int deltaTime)=0
virtual ~GameState ()

Protected Attributes

Application_app


Constructor & Destructor Documentation

GameState::GameState ( Application app  ) 

Definition at line 3 of file GameState.cpp.

GameState::~GameState (  )  [virtual]

Definition at line 9 of file GameState.cpp.


Member Function Documentation

virtual void GameState::deinit (  )  [pure virtual]

Implemented in MainGameState.

Referenced by Application::popState().

Here is the caller graph for this function:

virtual void GameState::init (  )  [pure virtual]

Implemented in MainGameState.

Referenced by XClone::init().

Here is the caller graph for this function:

virtual void GameState::processSDLEvent ( SDL_Event &  event  )  [pure virtual]

Implemented in MainGameState.

Referenced by XClone::processSDLEvent().

Here is the caller graph for this function:

virtual void GameState::update ( unsigned int  deltaTime  )  [pure virtual]

Implemented in MainGameState.

Referenced by XClone::update().

Here is the caller graph for this function:


Member Data Documentation

Application* GameState::_app [protected]

Definition at line 21 of file GameState.h.


The documentation for this class was generated from the following files:
Generated on Fri Sep 22 06:00:27 2006 for X-CLONE by  doxygen 1.4.7