From 7126db6e1d97b7ede4cc929abfdeadd360e4cb74 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Mon, 6 Jan 2025 11:58:27 +0100 Subject: WIP --- game/prefab/ZapperScript.cpp | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 game/prefab/ZapperScript.cpp (limited to 'game/prefab/ZapperScript.cpp') 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 -#include - -#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; } -- cgit v1.2.3