aboutsummaryrefslogtreecommitdiff
path: root/game/prefab/ZapperScript.cpp
diff options
context:
space:
mode:
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; }