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/gameplay.hpp | |
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 'src/gameplay.hpp')
-rw-r--r-- | src/gameplay.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gameplay.hpp b/src/gameplay.hpp index 3c73d09..3dc6b27 100644 --- a/src/gameplay.hpp +++ b/src/gameplay.hpp @@ -14,6 +14,15 @@ class Enemy { ~Enemy(); }; +class Player { + public: + float posX; + float posY; + Vector2 direction; + Player(); + ~Player(); +}; + class Game { int nEnemies; @@ -24,6 +33,9 @@ class Game { ~Game(); void start() const ; + void draw() const ; + void tick() const ; + void getKeys() const ; }; #endif // GAMEPLAY_H_ |