From 0292e135be5f576d14e9589ad0ed8543a03b544c Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Mon, 3 Jan 2022 22:10:27 +0100 Subject: balls move yknow --- src/gameplay.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/gameplay.hpp') 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_ -- cgit v1.2.3