28#include "guillaume/ecs/system_filler.hpp"
30#include "guillaume/components/animation.hpp"
32#include <utility/engine.hpp>
56 utility::Engine &_engine;
57 std::chrono::steady_clock::time_point
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...
~Animation(void) override=default
Default destructor.
void update(const ecs::Entity::Identifier &entityIdentifier) override
Advance the animation of one entity by the frame time, clamped to theme::MotionScale::MaxFrameStep.
void prepare(void) override
Read the time of the current frame, once per frame.
Animation(utility::Engine &engine)
Create the system, in the Event phase.
Rules. Every class here runs each frame on the entities that have the components it declares.