aboutsummaryrefslogtreecommitdiff
path: root/game/prefab/ZapperPoolSubScene.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-08 16:14:25 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-08 16:14:25 +0100
commitf1f6f08bf15e7ef1520810524a5e50a126629432 (patch)
tree239f1d19fb890a7badc2f7887c460605770614e1 /game/prefab/ZapperPoolSubScene.cpp
parent31b068a3d2a275656ec310552f1ab27034aa184d (diff)
parent94e2988cc8c42e83a4b7b858c48458f997130963 (diff)
Merge remote-tracking branch 'origin/loek/game' into niels/game
Diffstat (limited to 'game/prefab/ZapperPoolSubScene.cpp')
-rw-r--r--game/prefab/ZapperPoolSubScene.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/game/prefab/ZapperPoolSubScene.cpp b/game/prefab/ZapperPoolSubScene.cpp
index e341090..8422b8c 100644
--- a/game/prefab/ZapperPoolSubScene.cpp
+++ b/game/prefab/ZapperPoolSubScene.cpp
@@ -1,13 +1,13 @@
#include <crepe/api/BehaviorScript.h>
-#include "ZapperPoolSubScene.h"
#include "ZapperPoolScript.h"
+#include "ZapperPoolSubScene.h"
using namespace crepe;
using namespace std;
ZapperPoolSubScene::ZapperPoolSubScene(Scene & scene)
- : controller { scene.new_object("controller") } {
+ : controller {scene.new_object("controller")} {
Log::logf(Log::DEBUG, "Building zapper pool...");
vector<ZapperObject> pool;
@@ -16,4 +16,3 @@ ZapperPoolSubScene::ZapperPoolSubScene(Scene & scene)
BehaviorScript & behavior = this->controller.add_component<BehaviorScript>();
behavior.set_script<ZapperPoolScript>(std::move(pool));
}
-