Add function Game::returntomenu()

When exiting from a game-gamestate which may have been entered through a
varying amount of menus, the solution is to not use Game::returnmenu(),
and to instead have a way to go back to a certain given menu.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-04-26 08:15:30 -04:00
1 parent a60cdb3ab7
commit 536184f394
2 files changed
+27

No files matched your search

+1
View File
@@ -106,6 +106,7 @@ public:
std::string timetstring(int t);
void returnmenu();
void returntomenu(enum Menu::MenuName t);
void createmenu(enum Menu::MenuName t, bool samemenu = false);
void lifesequence();