aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-07 10:40:28 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-07 10:40:28 +0100
commitaa2d2e05bc90b90ab503eff1f58bfc8c2b9c1741 (patch)
tree3414ab2156316592da2c2fa215f6eb2a28e6b4c5
parentbcfa2d9543c2fc7d83003b243e526ab64efab6e1 (diff)
`make format`
-rw-r--r--game/GameScene.cpp2
-rw-r--r--game/prefab/ZapperObject.cpp2
-rw-r--r--src/crepe/api/Engine.cpp1
3 files changed, 2 insertions, 3 deletions
diff --git a/game/GameScene.cpp b/game/GameScene.cpp
index c393ef7..1eefce1 100644
--- a/game/GameScene.cpp
+++ b/game/GameScene.cpp
@@ -21,8 +21,8 @@
#include "GameScene.h"
#include "MoveCameraManualyScript.h"
-#include "player/PlayerSubScene.h"
#include "background/BackgroundSubScene.h"
+#include "player/PlayerSubScene.h"
#include "prefab/ZapperObject.h"
using namespace crepe;
diff --git a/game/prefab/ZapperObject.cpp b/game/prefab/ZapperObject.cpp
index 944a53f..4055ac4 100644
--- a/game/prefab/ZapperObject.cpp
+++ b/game/prefab/ZapperObject.cpp
@@ -77,7 +77,7 @@ ZapperObject::ZapperObject(crepe::GameObject && base)
body {add_component<Rigidbody>(Rigidbody::Data {
.body_type = Rigidbody::BodyType::KINEMATIC,
.kinematic_collision = false,
- .collision_layer = COLL_LAY_ZAPPER,
+ .collision_layer = COLL_LAY_ZAPPER,
})},
collider {add_component<BoxCollider>(vec2(0, 0))} {
this->place(this->transform.position, 0, 300);
diff --git a/src/crepe/api/Engine.cpp b/src/crepe/api/Engine.cpp
index bfc1c4a..35743e3 100644
--- a/src/crepe/api/Engine.cpp
+++ b/src/crepe/api/Engine.cpp
@@ -70,4 +70,3 @@ void Engine::loop() {
}
}
}
-