12template <
typename ... Components>
43template <
typename... Comps,
typename... Args>
FLECS_API void FlecsAlertsImport(ecs_world_t *world)
Alert module import function.
FLECS_API ecs_entity_t ecs_alert_init(ecs_world_t *world, const ecs_alert_desc_t *desc)
Create a new alert.
flecs::alert_builder< Comps... > alert(Args &&... args) const
Create an alert.
flecs::entity import()
Import a module.
flecs::component< T > component(Args &&... args) const
Find or register a component.
flecs::entity entity(Args &&... args) const
Create an entity.
ecs_world_t world_t
World type.
Alert descriptor, used with ecs_alert_init().
entity()
Default constructor.
flecs::world world() const
Get the world.
flecs::id_t id_
The raw ID value.
flecs::world_t * world_
World is optional, but guarantees that entity identifiers extracted from the ID are valid.
world_t * world_
Pointer to the underlying C world.