aboutsummaryrefslogtreecommitdiff
path: root/game/missile/MissilePool.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-08 14:10:27 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-08 14:10:27 +0100
commitb445a1716a46dc875e0b2180c1a1b6022ec7a6d3 (patch)
tree1395518417ef02ca8adfa961e0734ea7aeb71a6d /game/missile/MissilePool.cpp
parentc9c9702edc58ff8f40b13dc6b86b216421f79e9b (diff)
missile/preview/schedular/PreviewScene
Diffstat (limited to 'game/missile/MissilePool.cpp')
-rw-r--r--game/missile/MissilePool.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/game/missile/MissilePool.cpp b/game/missile/MissilePool.cpp
new file mode 100644
index 0000000..e549210
--- /dev/null
+++ b/game/missile/MissilePool.cpp
@@ -0,0 +1,16 @@
+#include "MissilePool.h"
+#include "MissileSubScene.h"
+
+#include <crepe/api/Scene.h>
+
+using namespace std;
+using namespace crepe;
+
+MissilePool::MissilePool(Scene & scn) {
+ int amount = 0;
+ MissileSubScene missile;
+ while (amount < this->MAX_MISSILE_COUNT) {
+ missile.create(scn);
+ amount++;
+ }
+}