#pragma once #include "ecs/entity.h" #include "event/event.h" #include #include #include namespace simpleengine { class EntityManager : public simpleengine::Event { public: std::unordered_map> entities; EntityManager(); virtual void submit_entity(std::shared_ptr entity); virtual bool withdraw_entity(std::shared_ptr entity); virtual void initialize(); virtual void destroy() override; virtual void update(const float& delta_time) override; }; }