aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameplay.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gameplay.hpp12
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_