|
| | Game () |
| | Constructs the game, creating all the managers, handlers, engines and GUI windows that make up the game.
|
| |
| | ~Game () |
| | Destructor, cleans up the game.
|
| |
| void | logic () |
| | This method takes the game a small step further.
|
| |
| bool | keyDownEvent (SDL_KeyboardEvent &event) |
| | Handles an SDL_KEYDOWN event and returns whether it was consumed.
|
| |
| void | handleInput () |
| | Continuous input handling.
|
| |
| void | changeMap (const std::string &mapName) |
| | Changes the currently active map.
|
| |
| Map * | getCurrentMap () |
| | Returns the currently active map.
|
| |
| const std::string & | getCurrentMapName () |
| |
| int | getCurrentTileWidth () const |
| | Convenience functions used to get the current tile width and height.
|
| |
| int | getCurrentTileHeight () const |
| |
| void | updateWindowMenuCaptions () |
| | Update the key shortcuts in the window menu.
|
| |
| void | videoResized (int width, int height) |
| |
The main class responsible for running the game.
The game starts after you have selected your character.
Definition at line 36 of file game.h.