aboutsummaryrefslogtreecommitdiff
path: root/game/prefab/ZapperObject.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/ZapperObject.cpp
parent31b068a3d2a275656ec310552f1ab27034aa184d (diff)
parent94e2988cc8c42e83a4b7b858c48458f997130963 (diff)
Merge remote-tracking branch 'origin/loek/game' into niels/game
Diffstat (limited to 'game/prefab/ZapperObject.cpp')
-rw-r--r--game/prefab/ZapperObject.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/game/prefab/ZapperObject.cpp b/game/prefab/ZapperObject.cpp
index 0a290e0..24bbbd2 100644
--- a/game/prefab/ZapperObject.cpp
+++ b/game/prefab/ZapperObject.cpp
@@ -81,12 +81,9 @@ ZapperObject::ZapperObject(crepe::GameObject && base)
})},
collider {add_component<BoxCollider>(vec2(0, 0))} {
this->set_active(false);
- Log::logf(Log::DEBUG, "Creating zapper");
}
void ZapperObject::place(const crepe::vec2 & position, float rotation, float length) {
- Log::logf(Log::DEBUG, "Placing zapper [position = {}, rotation = {}, length = {}]", position, rotation, length);
-
this->transform.position = position;
this->transform.rotation = rotation;
@@ -119,4 +116,3 @@ void ZapperObject::set_active(bool active) {
this->active = active;
}
-