aboutsummaryrefslogtreecommitdiff
path: root/game/prefab/ZapperPoolSubScene.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/prefab/ZapperPoolSubScene.h')
-rw-r--r--game/prefab/ZapperPoolSubScene.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/game/prefab/ZapperPoolSubScene.h b/game/prefab/ZapperPoolSubScene.h
index 79598ce..25328ee 100644
--- a/game/prefab/ZapperPoolSubScene.h
+++ b/game/prefab/ZapperPoolSubScene.h
@@ -4,18 +4,24 @@
#include <crepe/api/Scene.h>
#include <crepe/api/GameObject.h>
+#include <crepe/api/Event.h>
+#include <crepe/util/OptionalRef.h>
#include "ZapperObject.h"
+class CreateZapperEvent : public crepe::Event {};
+
class ZapperPoolSubScene {
public:
ZapperPoolSubScene(crepe::Scene & scene);
-public:
+private:
crepe::GameObject controller;
std::vector<ZapperObject> zappers;
private:
static constexpr size_t POOL_SIZE = 4;
+public:
+ crepe::OptionalRef<ZapperObject> get_next_zapper();
};