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
#ifndef GAMEPLAY_H_ #define GAMEPLAY_H_ #include "window.hpp" #include "entity.hpp" #include <vector> class Game { int nEnemies; std::vector<Entity> * enemies; Entity * player; public: Game(); ~Game(); void start() const ; void draw() const ; void tick() const ; void getKeys() const ; }; #endif // GAMEPLAY_H_