Ejemplo n.º 1
0
	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;
	}
Ejemplo n.º 2
0
void Game::GameMenu() {
	Menu* menu = new Menu(App);
	map_path = menu->Loop();
	game_status = EDITOR;
	delete menu;
	


}