|
@ -34,7 +34,8 @@ int handleCommand( char* input ){ |
|
|
|
|
|
|
|
|
struct command* createCommands(){ |
|
|
struct command* createCommands(){ |
|
|
struct command commands[] = { |
|
|
struct command commands[] = { |
|
|
{"\"start menu\" - startet das menu", startMenu} |
|
|
|
|
|
|
|
|
{"\"start menu\" - startet das menu", startMenu}, |
|
|
|
|
|
{"\"start game\" - startet das spiel", startGame} |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
size_t numCommands = sizeof(commands) / sizeof(commands[0]); |
|
|
size_t numCommands = sizeof(commands) / sizeof(commands[0]); |
|
|