27#include "guillaume/ecs/component_registry.hpp"
28#include "guillaume/ecs/entity_builder.hpp"
29#include "guillaume/ecs/entity_registry.hpp"
90 std::shared_ptr<EntityType>
108#include "guillaume/entities/builder_base.tpp"
Stores every component of a scene, per component type and per entity identifier, and knows which ones...
Base class of the widget builders: remembers in which registries the entities it creates go.
Owns entities and gives the systems the list of entities to visit.
std::shared_ptr< EntityType > registerEntity(std::shared_ptr< ecs::Entity > parent)
Build the widget, attach it to its parent, hand it to the entity registry, then reset the builder to ...
virtual std::shared_ptr< EntityType > buildEntity(void)=0
Create the widget from the current configuration.
EntityBuilderBase(ecs::ComponentRegistry &componentRegistry, ecs::EntityRegistry &entityRegistry)
Construct a builder bound to two registries.
~EntityBuilderBase(void) override=default
Default destructor.
Widgets: the classes used to create entities with the right components and children.