23#include "guillaume/ecs/entity_builder.hpp"
29 : _componentRegistry(componentRegistry)
30 , _entityRegistry(entityRegistry)
36 return _componentRegistry;
41 return _entityRegistry;
Stores every component of a scene, per component type and per entity identifier, and knows which ones...
EntityRegistry & getEntityRegistry(void)
Get the registry in which the builder registers the entities it creates.
EntityBuilder(ecs::ComponentRegistry &componentRegistry, ecs::EntityRegistry &entityRegistry)
Create a builder working on a pair of registries, normally those of one scene.
ComponentRegistry & getComponentRegistry(void)
Get the registry in which the builder creates components.
Owns entities and gives the systems the list of entities to visit.
The entity-component-system core, independent of any widget.