XClone Class Reference

#include <XClone.h>

Inherits Application, and Singleton< T >< XClone >.

Inheritance diagram for XClone:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 7 of file XClone.h.

Public Member Functions

void deinit ()
void init ()
void processSDLEvent (SDL_Event &event)
void update ()
virtual ~XClone ()

Private Member Functions

 XClone ()

Private Attributes

const string configFile
unsigned int deltaTime
unsigned int lastUpdateTime

Friends

class Singleton< XClone >


Constructor & Destructor Documentation

XClone::~XClone (  )  [virtual]

Definition at line 14 of file XClone.cpp.

XClone::XClone (  )  [private]

Definition at line 7 of file XClone.cpp.


Member Function Documentation

void XClone::deinit (  )  [virtual]

Implements Application.

Definition at line 48 of file XClone.cpp.

References Singleton< T >::instance(), and Application::popAllStates().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void XClone::init (  )  [virtual]

Implements Application.

Definition at line 19 of file XClone.cpp.

References Application::changeState(), configFile, GameState::init(), Display::init(), ConfigOptions::init(), Singleton< T >::instance(), ConfigOptions::load(), and Display::loadFont().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void XClone::processSDLEvent ( SDL_Event &  event  )  [virtual]

Implements Application.

Definition at line 87 of file XClone.cpp.

References Application::getCurrentGameState(), and GameState::processSDLEvent().

Here is the call graph for this function:

void XClone::update (  )  [virtual]

Implements Application.

Definition at line 54 of file XClone.cpp.

References deltaTime, Application::getCurrentGameState(), Singleton< T >::instance(), lastUpdateTime, and GameState::update().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class Singleton< XClone > [friend]

Definition at line 9 of file XClone.h.


Member Data Documentation

const string XClone::configFile [private]

Definition at line 21 of file XClone.h.

Referenced by init().

unsigned int XClone::deltaTime [private]

Definition at line 24 of file XClone.h.

Referenced by update().

unsigned int XClone::lastUpdateTime [private]

Definition at line 23 of file XClone.h.

Referenced by update().


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