87#include "EntityBuilder.tpp"
High-level ECS manager providing clean server-side API.
Builder pattern for creating entities with multiple components.
EntityBuilder & with(std::function< T()> factory)
Add a component using a factory function.
EntityBuilder & configure(std::function< void(Entity &)> configurator)
Apply a configuration function to the entity.
EntityBuilder & with(const T &component)
Add a component to the entity being built.
Entity build()
Finalize and return the built entity.
High-level entity wrapper providing fluent interface.