#include <game.h>

Definition at line 35 of file game.h.
Public Member Functions | |
| Game () | |
| ~Game () | |
| void | logic () |
| void | handleInput () |
| void | optionChanged (const std::string &name) |
| Called when an option changed. | |
Private Attributes | |
| int | mDrawTime |
| Used to determine whether to draw the next frame. | |
| int | mMinFrameTime |
| The minimum frame time (used for frame limiting). | |
| int | mLastTarget |
| SDL_TimerID | mLogicCounterId |
| SDL_TimerID | mSecondsCounterId |
| void Game::optionChanged | ( | const std::string & | name | ) | [virtual] |
Called when an option changed.
The config listener will have to be registered to the option name first.
Implements ConfigListener.
int Game::mDrawTime [private] |
int Game::mMinFrameTime [private] |
int Game::mLastTarget [private] |
SDL_TimerID Game::mLogicCounterId [private] |
SDL_TimerID Game::mSecondsCounterId [private] |
1.5.5