28#include "guillaume/ecs/component.hpp"
29#include "guillaume/ecs/entity.hpp"
65 enum class Variant { Enabled, Disabled, Error };
80 Variant _variant { Variant::Enabled };
81 std::string _label {};
123 const std::string &
getLabel(
void)
const noexcept;
Base class of every component: a piece of state attached to an entity, plus a "changed" flag.
std::size_t Identifier
The key under which an entity's components are stored. Systems and components refer to entities by th...
static constexpr Identifier InvalidIdentifier
"No entity": never the identifier of a real entity
State. Every class here is plain data attached to an entity.