24#include "guillaume/ecs/system_filler.hpp"
26#include "guillaume/components/color.hpp"
27#include "guillaume/components/elevation.hpp"
28#include "guillaume/components/surface_tone.hpp"
57 components::Elevation>
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...
~SurfaceTone(void) override=default
Destroy the system. It owns no resource.
static void apply(ecs::ComponentRegistry &componentRegistry, const ecs::Entity::Identifier &entityIdentifier)
Write the color and the shadow of one surface from its components::SurfaceTone.
void update(const ecs::Entity::Identifier &entityIdentifier) override
Write the color and the shadow of one surface for this frame.
SurfaceTone(void)
Create the system in the Measure phase.
Rules. Every class here runs each frame on the entities that have the components it declares.