aboutsummaryrefslogtreecommitdiff
path: root/game/prefab/ZapperPoolSubScene.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-08 11:13:40 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-08 11:13:40 +0100
commit06d41eb2d58de21a8340ca59952b96cabc8caee6 (patch)
tree4daa9f74cb8a088ba17e54d52be307c5b917878f /game/prefab/ZapperPoolSubScene.h
parentb8acb539a3580bf0665fe435c55f33ba16cb507e (diff)
pooling working
Diffstat (limited to 'game/prefab/ZapperPoolSubScene.h')
-rw-r--r--game/prefab/ZapperPoolSubScene.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/game/prefab/ZapperPoolSubScene.h b/game/prefab/ZapperPoolSubScene.h
index 25328ee..f930e22 100644
--- a/game/prefab/ZapperPoolSubScene.h
+++ b/game/prefab/ZapperPoolSubScene.h
@@ -1,14 +1,10 @@
#pragma once
-#include <vector>
-
#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 {
@@ -17,11 +13,7 @@ public:
private:
crepe::GameObject controller;
- std::vector<ZapperObject> zappers;
private:
static constexpr size_t POOL_SIZE = 4;
-
-public:
- crepe::OptionalRef<ZapperObject> get_next_zapper();
};