diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-01-03 22:10:27 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-01-03 22:10:27 +0100 |
commit | 0292e135be5f576d14e9589ad0ed8543a03b544c (patch) | |
tree | dc8b0ba9c0c566959ea47871119b56d3fd978a57 /src/main.cpp | |
parent | add circles (diff) | |
download | threshold-0292e135be5f576d14e9589ad0ed8543a03b544c.tar.gz threshold-0292e135be5f576d14e9589ad0ed8543a03b544c.tar.bz2 threshold-0292e135be5f576d14e9589ad0ed8543a03b544c.tar.xz threshold-0292e135be5f576d14e9589ad0ed8543a03b544c.tar.zst threshold-0292e135be5f576d14e9589ad0ed8543a03b544c.zip |
balls move yknow
Diffstat (limited to '')
-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): |