diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-06 13:18:40 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-06 13:18:40 +0100 |
commit | 8620f57f7101b2090add89330e74854b77161d3f (patch) | |
tree | f2e0f561dc9fa43cab2b6098f65ada3f33782dbf /game/prefab/ZapperObject.h | |
parent | 7126db6e1d97b7ede4cc929abfdeadd360e4cb74 (diff) |
place zapper method
Diffstat (limited to 'game/prefab/ZapperObject.h')
-rw-r--r-- | game/prefab/ZapperObject.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/game/prefab/ZapperObject.h b/game/prefab/ZapperObject.h index cc2d37c..b4bb942 100644 --- a/game/prefab/ZapperObject.h +++ b/game/prefab/ZapperObject.h @@ -30,5 +30,8 @@ public: // crepe::BoxCollider & collider; private: - static constexpr int SCALE = 60; + static constexpr float SCALE = 0.8; + +public: + void place(const crepe::vec2 & position, float rotation, float length); }; |