From 30e2f2436fb1bdc688101e97f65ec1cf49ddb35d Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Sun, 2 Jan 2022 20:29:46 +0100 Subject: initial commit --- src/gameplay.hpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/gameplay.hpp (limited to 'src/gameplay.hpp') diff --git a/src/gameplay.hpp b/src/gameplay.hpp new file mode 100644 index 0000000..3b611fe --- /dev/null +++ b/src/gameplay.hpp @@ -0,0 +1,27 @@ +#ifndef GAMEPLAY_H_ +#define GAMEPLAY_H_ + +#include "window.hpp" + +class Enemy { + float posX; + float posY; + Vector2 direction; + public: + Enemy(); + ~Enemy(); +}; + +class Game { + int nEnemies; + + Enemy * enemies; + + public: + Game(); + ~Game(); + + void start() const ; +}; + +#endif // GAMEPLAY_H_ -- cgit v1.2.3