51 const archetype_registry_t&
archetypes() const override;
55 const components_t&
components() const override;
63 const systems_t&
systems() const override;
101 using
i_ecs::populate;
102 using
i_ecs::populate_shared;
118 archetype_registry_t iArchetypeRegistry;
119 component_factories_t iComponentFactories;
120 mutable components_t iComponents;
121 shared_component_factories_t iSharedComponentFactories;
122 mutable shared_components_t iSharedComponents;
123 system_factories_t iSystemFactories;
124 mutable systems_t iSystems;
130 neolib::callback_timer iSystemTimer;
131 std::atomic<
bool> iSystemsPaused;
ecs_flags flags() const override
define_declared_event(SystemsPaused, systems_paused) define_declared_event(SystemsResumed
const systems_t & systems() const override
const shared_component_factories_t & shared_component_factories() const override
void resume_all_systems() override
const i_shared_component & shared_component(component_id aComponentId) const override
bool all_systems_paused() const override
void pause_all_systems() override
void free_entity_id(entity_id aId) override
void register_shared_component(component_id aComponentId, shared_component_factory aFactory) override
bool shared_component_registered(component_id aComponentId) const override
bool archetype_registered(const i_entity_archetype &aArchetype) const override
void register_archetype(const i_entity_archetype &aArchetype) override
entity_id create_entity(const entity_archetype_id &aArchetypeId) override
const system_factories_t & system_factories() const override
const archetype_registry_t & archetypes() const override
const i_component & component(component_id aComponentId) const override
bool shared_component_instantiated(component_id aComponentId) const override
const i_entity_archetype & archetype(entity_archetype_id aArchetypeId) const override
const component_factories_t & component_factories() const override
void register_system(system_id aSystemId, system_factory aFactory) override
handle_id add_handle(const std::type_info &aTypeInfo, handle_t aHandle) override
handle_t to_handle(handle_id aId) const override
bool system_registered(system_id aSystemId) const override
void destroy_entity(entity_id aEntityId) override
bool component_registered(component_id aComponentId) const override
bool component_instantiated(component_id aComponentId) const override
handle_t release_handle(handle_id aId) override
entity_id next_entity_id() override
const shared_components_t & shared_components() const override
const components_t & components() const override
handle_t update_handle(handle_id aId, const std::type_info &aTypeInfo, handle_t aHandle) override
void register_component(component_id aComponentId, component_factory aFactory) override
systems_resumed entity_destroyed
bool system_instantiated(system_id aSystemId) const override