#include <XClone.h>
Inherits Application, and Singleton< T >< XClone >.
Inheritance diagram for XClone:

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 > |
| XClone::~XClone | ( | ) | [virtual] |
Definition at line 14 of file XClone.cpp.
| XClone::XClone | ( | ) | [private] |
Definition at line 7 of file XClone.cpp.
| 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:

const string XClone::configFile [private] |
unsigned int XClone::deltaTime [private] |
unsigned int XClone::lastUpdateTime [private] |
1.4.7