#pragma once #include #include #include #include #include #include "ZapperObject.h" class CreateZapperEvent : public crepe::Event {}; class ZapperPoolSubScene { public: ZapperPoolSubScene(crepe::Scene & scene); private: crepe::GameObject controller; std::vector zappers; private: static constexpr size_t POOL_SIZE = 4; public: crepe::OptionalRef get_next_zapper(); };