Add struct MenuStackFrame

This will be pushed onto a stack when going to a different menu so the
game can dynamically keep track of which menu option got you to which
menu.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-04-17 15:41:48 -04:00
1 parent 503b3f1692
commit 13d2d6b623
1 file changed
+6
+6
View File
@@ -70,6 +70,12 @@ namespace Menu
};
};
struct MenuStackFrame
{
int option;
enum Menu::MenuName name;
};
class Game
{