diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index f5a27af..283390a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -18,11 +18,13 @@ int main(void) { if (IsKeyPressed(KEY_ENTER)) { gs = GAMEPLAY; + game->start(); } break ; } case (GAMEPLAY): { + game->tick(); break ; } case (ENDING): @@ -42,7 +44,8 @@ int main(void) { } case (GAMEPLAY): { - game->start(); + game->getKeys(); + game->draw(); break ; } case (ENDING): |