#include <engine.h>
Actually hardly does anything anymore except keeping track of the current map.
Definition at line 33 of file engine.h.
Public Member Functions | |
| Engine () | |
| Constructor. | |
| ~Engine () | |
| Destructor. | |
| Map * | getCurrentMap () |
| Returns the currently active map. | |
| const std::string & | getCurrentMapName () |
| bool | changeMap (const std::string &mapName) |
| Sets the currently active map. | |
| void | logic () |
| Performs engine logic. | |
Private Attributes | |
| Map * | mCurrentMap |
| std::string | mMapName |
| Engine::Engine | ( | ) |
| Engine::~Engine | ( | ) |
| Map* Engine::getCurrentMap | ( | ) | [inline] |
| bool Engine::changeMap | ( | const std::string & | mapName | ) |
| void Engine::logic | ( | ) |
Performs engine logic.
This method is called 100 times per second.
Definition at line 147 of file engine.cpp.
Map* Engine::mCurrentMap [private] |
std::string Engine::mMapName [private] |
1.5.5