25#include "guillaume/ecs/component_registry.hpp"
26#include "guillaume/ecs/entity.hpp"
28#include "guillaume/components/overlay.hpp"
Marks an entity as something shown temporarily above the rest of the interface (a dialog,...
Stores every component of a scene, per component type and per entity identifier, and knows which ones...
ComponentType & getComponent(const Entity::Identifier &entityIdentifier)
Get a component of an entity, to read or modify it.
std::size_t Identifier
The key under which an entity's components are stored. Systems and components refer to entities by th...
Widgets: the classes used to create entities with the right components and children.
void setOverlayVisible(ecs::ComponentRegistry ®istry, const ecs::Entity::Identifier &identifier, bool visible)
Show or hide an overlay widget (dialog, menu, snackbar, tooltip).
bool isOverlayVisible(const ecs::ComponentRegistry ®istry, const ecs::Entity::Identifier &identifier)
Tell whether an overlay widget is shown.