|
@ -34,8 +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 game\" - startet das spiel", startGame} |
|
|
|
|
|
|
|
|
{ 1, "\"start menu\" - startet das menu", startMenu}, |
|
|
|
|
|
{ 2, "\"start game\" - startet das spiel", startGame} |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
size_t numCommands = sizeof(commands) / sizeof(commands[0]); |
|
|
size_t numCommands = sizeof(commands) / sizeof(commands[0]); |
|
|