aboutsummaryrefslogtreecommitdiff
path: root/game/missile/MissilePool.cpp
diff options
context:
space:
mode:
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++;
+ }
+}