aboutsummaryrefslogtreecommitdiff
path: root/game/missile/MissilePool.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-10 12:05:16 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-10 12:05:16 +0100
commit15a958a7f327bb2e81e7d445f1499ec78c7f5839 (patch)
tree335754f27b42f00353be643c2f01240ec7a2bcc4 /game/missile/MissilePool.cpp
parentd20b25828b53af170a6534263e8de114e7fac121 (diff)
alers scripts and quitscript with ESC key
Diffstat (limited to 'game/missile/MissilePool.cpp')
-rw-r--r--game/missile/MissilePool.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/missile/MissilePool.cpp b/game/missile/MissilePool.cpp
index e549210..23f03c9 100644
--- a/game/missile/MissilePool.cpp
+++ b/game/missile/MissilePool.cpp
@@ -1,5 +1,6 @@
#include "MissilePool.h"
#include "MissileSubScene.h"
+#include "missile/AlertSubScene.h"
#include <crepe/api/Scene.h>
@@ -10,6 +11,7 @@ MissilePool::MissilePool(Scene & scn) {
int amount = 0;
MissileSubScene missile;
while (amount < this->MAX_MISSILE_COUNT) {
+ MissileAlert alert(scn);
missile.create(scn);
amount++;
}