27#include "guillaume/ecs/component.hpp"
28#include "guillaume/ecs/entity.hpp"
72 enum class Mode { Elevated, Flat };
77 enum class Size { Small, Medium, Large };
80 Variant _variant { Variant::Primary };
81 Size _size { Size::Medium };
82 Mode _mode { Mode::Elevated };
83 std::optional<float> _customSize {};
84 bool _extended {
true };
85 bool _lowered {
false };
146 const std::optional<float> &
getCustomSize(
void)
const noexcept;
Base class of every component: a piece of state attached to an entity, plus a "changed" flag.
State. Every class here is plain data attached to an entity.
@ Secondary
Tones of the secondary accent color.
@ Tertiary
Tones of the tertiary accent color.
@ Primary
Tones of the primary accent color.