#define CE_EXTERN_COMPONENT(T)
Definition Component.hpp:600
A type-safe entity type.
Definition Entity.hpp:538
Definition Checkbox.hpp:14
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Accessor(const Entity &entity)
Definition Component.hpp:181
Components serve as the base for data storage for an entity.
Definition Component.hpp:68
Definition UIComponent.hpp:35
void setDrawer(UIDrawer drawer)
Definition UIComponent.hpp:17
UIComponent(UIDrawer drawer)
Create a new UIComponent component.
std::function< void()> UIDrawer
A functor type that gets called every frame to render the UI.
Definition UIComponent.hpp:21
UIComponent()
Create a new UIComponent component.
UIDrawer drawer
A functor that gets called every frame to render the UI.
Definition UIComponent.hpp:24