Lots of changes; notes coming soon.
[asgard.git] / GameEngine.cpp
blob45a9cae29316ef9f25f1527fe77ae635e17e116e
1 #include "GameEngine.h"
3 GameEngine* GameEngine::instance = NULL;
5 GameEngine* GameEngine::getInstance()
7 if(instance == NULL) instance = new GameEngine();
8 return instance;
11 GameEngine::GameEngine()
15 void GameEngine::loadGame()
19 void GameEngine::loadVisibleBoxes()
21 Database* db = Database::getInstance();
22 db->determineVisibleBoxes(this->currentPosition,this->visibleBoxes,VISIBLE_BOUNDING_BOXES);
25 void GameEngine::addMapObject(MapObject* object)
29 void GameEngine::removeBoundingBoxObjects(int boundingBoxID)