diff options
Diffstat (limited to 'src/gameplay.hpp')
-rw-r--r-- | src/gameplay.hpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gameplay.hpp b/src/gameplay.hpp index 3b611fe..3c73d09 100644 --- a/src/gameplay.hpp +++ b/src/gameplay.hpp @@ -3,11 +3,13 @@ #include "window.hpp" +#include <vector> + class Enemy { - float posX; - float posY; - Vector2 direction; public: + float posX; + float posY; + Vector2 direction; Enemy(); ~Enemy(); }; @@ -15,7 +17,7 @@ class Enemy { class Game { int nEnemies; - Enemy * enemies; + std::vector<Enemy> * enemies; public: Game(); |