aboutsummaryrefslogtreecommitdiff
path: root/game/prefab/ZapperScript.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-06 11:58:27 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-06 11:58:27 +0100
commit7126db6e1d97b7ede4cc929abfdeadd360e4cb74 (patch)
treeb93d87321025b3730ef5534033a3a790abf41138 /game/prefab/ZapperScript.cpp
parentd4f443070017c5c2e6a938bf4d0a86b70ae6beaa (diff)
WIP
Diffstat (limited to 'game/prefab/ZapperScript.cpp')
-rw-r--r--game/prefab/ZapperScript.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/game/prefab/ZapperScript.cpp b/game/prefab/ZapperScript.cpp
deleted file mode 100644
index 01eb7aa..0000000
--- a/game/prefab/ZapperScript.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <cassert>
-#include <crepe/api/Rigidbody.h>
-
-#include "ZapperScript.h"
-
-using namespace crepe;
-using namespace std;
-
-ZapperScript::ZapperScript(const ZapperObject & zapper) : zapper(zapper) {}
-
-void ZapperScript::init() {
- zapper.sprite.beam.mask = {
- .w = 350,
- .h = 117,
- .x = 0,
- .y = 0,
- };
-}
-
-void ZapperScript::frame_update(duration_t delta_time) { zapper.sprite.beam.mask.x += 4; }