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
2020-04-25 17:36:36 -07:00
committed by Ethan Lee
parent a60cdb3ab7
commit 536184f394
2 changed files with 27 additions and 0 deletions

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();