diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-22 20:04:33 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-22 20:04:33 +0100 |
commit | a600cc55468a6513743ce916aa3da129270c23f0 (patch) | |
tree | 324eb574298b321dcfba69a5a29c59b0cc18f007 /game/prefab/ZapperScript.h | |
parent | 73dea702bdedf48a2d2d26e7922b5ee935063cfd (diff) |
more WIP zapper
Diffstat (limited to 'game/prefab/ZapperScript.h')
-rw-r--r-- | game/prefab/ZapperScript.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/game/prefab/ZapperScript.h b/game/prefab/ZapperScript.h new file mode 100644 index 0000000..5a960df --- /dev/null +++ b/game/prefab/ZapperScript.h @@ -0,0 +1,18 @@ +#pragma once + +#include <crepe/api/Script.h> + +#include "ZapperObject.h" + +class ZapperScript : public crepe::Script { +public: + ZapperScript(const ZapperObject & zapper); + +protected: + void init(); + void frame_update(crepe::duration_t delta_time); + +protected: + ZapperObject zapper; +}; + |