Flecs
v4.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
mixin.inl
Go to the documentation of this file.
1
11
template <typename E, if_t< is_enum<E>::value > = 0>
12
flecs::entity
to_entity
(E
constant
)
const
;
constant
component< T > & constant(const char *name, T value)
Add a constant.
Definition
component.inl:38
flecs::world::to_entity
flecs::entity to_entity(E constant) const
Convert an enum constant to an entity.
flecs::entity
Entity.
Definition
entity.hpp:30