aboutsummaryrefslogtreecommitdiff
path: root/game/prefab/ZapperPoolSubScene.cpp
diff options
context:
space:
mode:
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));
}
-