aboutsummaryrefslogtreecommitdiff
path: root/game/prefab/ZapperObject.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-08 15:24:09 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-08 15:24:21 +0100
commitf22a282b7863d35928fa3290f964ce3be5c0dbc9 (patch)
tree09aa2d1d7b730154288b9496f141cf711cdfdecf /game/prefab/ZapperObject.cpp
parent261a2cfd2bedafbc7fcf54e1b86adee206dea519 (diff)
tweak zapper spawning logic
Diffstat (limited to 'game/prefab/ZapperObject.cpp')
-rw-r--r--game/prefab/ZapperObject.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/game/prefab/ZapperObject.cpp b/game/prefab/ZapperObject.cpp
index 0a290e0..6139d53 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;