void TetrisGameInstance::start() { m_video_manager->setupVideo(); if(m_scene_manager != nullptr){ loadScenes(); m_scene_manager->run(); } }
void Game::start() { loadScenes(); changeScene("test"); while (_currentScene != nullptr) { _currentScene->run(); } exit(0); }
void Game::start() { loadScenes(); _currentScene = (*_scenes.find("Menu")).second; while (_currentScene != nullptr) { _currentScene->run(); } exit(0); }
void bankManager::loadSettings(ofxXmlSettings & XML){ currentScene->unTriggerAll(); currentZone.reset(); currentScene.reset(); loadScenes(XML); loadBanks(XML); }
void SceneManager::reload() { clean(); loadScenes(); }