1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#ifndef GAMEPLAY_H_ #define GAMEPLAY_H_ #include "window.hpp" #include <vector> class Enemy { public: float posX; float posY; Vector2 direction; Enemy(); ~Enemy(); }; class Game { int nEnemies; std::vector<Enemy> * enemies; public: Game(); ~Game(); void start() const ; }; #endif // GAMEPLAY_H_