Flecs v3.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
mixin.inl
Go to the documentation of this file.
1
11template <typename... Args>
12flecs::entity entity(Args &&... args) const;
13
19template <typename E, if_t< is_enum<E>::value > = 0>
20flecs::entity id(E value) const;
21
27template <typename E, if_t< is_enum<E>::value > = 0>
28flecs::entity entity(E value) const;
29
35template <typename... Args>
36flecs::entity prefab(Args &&... args) const;
37
43template <typename T>
44flecs::entity entity(const char *name = nullptr) const;
45
51template <typename T>
52flecs::entity prefab(const char *name = nullptr) const;
flecs::entity id(E value) const
Convert enum constant to entity.
flecs::entity prefab(Args &&... args) const
Create a prefab.
flecs::entity entity(const char *name=nullptr) const
Create an entity that's associated with a type.
flecs::entity entity(Args &&... args) const
Create an entity.
flecs::entity entity(E value) const
Convert enum constant to entity.
flecs::entity prefab(const char *name=nullptr) const
Create a prefab that's associated with a type.
Entity.
Definition: entity.hpp:30