diff options
Diffstat (limited to 'game/prefab/ZapperPoolScript.h')
-rw-r--r-- | game/prefab/ZapperPoolScript.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/game/prefab/ZapperPoolScript.h b/game/prefab/ZapperPoolScript.h new file mode 100644 index 0000000..b545fbb --- /dev/null +++ b/game/prefab/ZapperPoolScript.h @@ -0,0 +1,22 @@ +#pragma once + +#include <crepe/api/Script.h> + +class ZapperPoolSubScene; + +class ZapperPoolScript : public crepe::Script { +public: + ZapperPoolScript(ZapperPoolSubScene & pool); + + void init(); + +private: + ZapperPoolSubScene & pool; + +private: + crepe::vec2 get_camera_pos(); + +private: + void spawn_random(); +}; + |