diff options
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; +}; + |