27#include <utility/engine.hpp>
29#include "guillaume/ecs/system_filler.hpp"
31#include "guillaume/components/arc.hpp"
32#include "guillaume/components/bound.hpp"
33#include "guillaume/components/color.hpp"
34#include "guillaume/components/transform.hpp"
36#include "guillaume/systems/render_handle_map.hpp"
64 components::Color, components::Arc>
67 utility::Engine &_engine;
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...
void cleanup(void) override
Remove the engine objects of the entities that were not drawn this frame. Called once per frame after...
ArcRender(utility::Engine &engine)
Create the system in the Render phase.
void update(const ecs::Entity::Identifier &entityIdentifier) override
Rebuild the mesh of one arc and upload it, creating the engine object on the first frame.
void prepare(void) override
Mark every engine object as not drawn yet. Called once per frame before the entities are visited.
~ArcRender(void) override=default
Destroy the system. The engine objects it created are left in the engine.
RenderHandleMap(void)=default
Create an empty map.
Rules. Every class here runs each frame on the entities that have the components it declares.