25#include "guillaume/ecs/system_filler.hpp"
27#include "guillaume/components/text.hpp"
28#include "guillaume/components/typography.hpp"
Stores every component of a scene, per component type and per entity identifier, and knows which ones...
std::size_t Identifier
The key under which an entity's components are stored. Systems and components refer to entities by th...
The base class to derive a system from: a System whose signature is the list of component types given...
~Typography(void) override=default
Destroy the system. It owns no resource.
void update(const ecs::Entity::Identifier &entityIdentifier) override
Resolve the metrics of one text for this frame.
Typography(void)
Create the system in the Measure phase.
static void apply(ecs::ComponentRegistry &componentRegistry, const ecs::Entity::Identifier &entityIdentifier)
Resolve the metrics of one text and write them into its components::Text.
Rules. Every class here runs each frame on the entities that have the components it declares.