diff options
Diffstat (limited to 'game/prefab/ZapperScript.cpp')
| -rw-r--r-- | game/prefab/ZapperScript.cpp | 23 | 
1 files changed, 0 insertions, 23 deletions
| diff --git a/game/prefab/ZapperScript.cpp b/game/prefab/ZapperScript.cpp deleted file mode 100644 index b9b24be..0000000 --- a/game/prefab/ZapperScript.cpp +++ /dev/null @@ -1,23 +0,0 @@ -#include <crepe/api/Rigidbody.h> -#include <cassert> - -#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; -} - |