aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameplay.hpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-02 20:29:46 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-02 20:29:46 +0100
commit30e2f2436fb1bdc688101e97f65ec1cf49ddb35d (patch)
treedcd31c2c405b55a9c301f89eda71434e1c3e6a31 /src/gameplay.hpp
downloadthreshold-30e2f2436fb1bdc688101e97f65ec1cf49ddb35d.tar.gz
threshold-30e2f2436fb1bdc688101e97f65ec1cf49ddb35d.tar.bz2
threshold-30e2f2436fb1bdc688101e97f65ec1cf49ddb35d.tar.xz
threshold-30e2f2436fb1bdc688101e97f65ec1cf49ddb35d.tar.zst
threshold-30e2f2436fb1bdc688101e97f65ec1cf49ddb35d.zip
initial commit
Diffstat (limited to 'src/gameplay.hpp')
-rw-r--r--src/gameplay.hpp27
1 files changed, 27 insertions, 0 deletions
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_