aboutsummaryrefslogtreecommitdiff
path: root/game/missile/MissilePool.cpp
diff options
context:
space:
mode:
authorheavydemon21 <48092678+heavydemon21@users.noreply.github.com>2025-01-10 14:44:59 +0100
committerGitHub <noreply@github.com>2025-01-10 14:44:59 +0100
commit798237b661e8e49284e78ffb1a16599cf6a46a6d (patch)
tree8f4881cf4abc58774625383620cf82fa55b9d1f0 /game/missile/MissilePool.cpp
parentbb2db93bfb8dd7e080d2708548eae660e6b33913 (diff)
parentd1cebcca2018ed4ef47ad125e45aafd018a2ab2e (diff)
Merge pull request #125 from lonkaars/niels/game
missile alerts
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++;
}