added: list of arguments

edit: future framework of main
This commit is contained in:
2024-07-05 12:11:09 -04:00
parent 0201425cf1
commit 74de68cf0d
8 changed files with 60 additions and 26 deletions

View File

@ -12,6 +12,10 @@ game_command file_input::get_command() {
if (cmd == "q")
return game_command_terminate;
else if (cmd == "f")
return the_world;
else if (cmd == "r")
return game_restart;
else if (cmd == "u")
return (game_command)((tmp = get_direction(cmd)) ==
game_command_panic