int Loop() { switch (Current) { case Structure::STORY: Current = story->Loop(); break; case Structure::INTRO: Current = intro->Loop(); break; case Structure::MENU: Current = menu->Loop(); break; case Structure::INGAME: Current = ingame->Loop(); break; case Structure::HELP: Current = help->Loop(); break; } return Current; }
void Game::GameMenu() { Menu* menu = new Menu(App); map_path = menu->Loop(); game_status = EDITOR; delete menu; }