Flecs v4.0
A fast entity component system (ECS) for C & C++
|
Systems are a query + function that can be ran manually or by a pipeline. More...
Namespaces | |
namespace | flecs::_ |
Int to enum. | |
Classes | |
struct | flecs::system_builder< Components > |
System builder. More... | |
struct | flecs::system_builder_i< Base, Components > |
System builder interface. More... | |
Typedefs | |
using | flecs::TickSource = EcsTickSource |
Functions | |
void | flecs::_::system_init (flecs::world &world) |
flecs::system | flecs::world::system (flecs::entity e) const |
Upcast entity to a system. | |
template<typename... Components, typename... Args> | |
flecs::system_builder< Components... > | system (Args &&... args) const |
Create a new system. | |
Systems are a query + function that can be ran manually or by a pipeline.
using flecs::TickSource = EcsTickSource |
|
related |
Create a new system.
Components | The components to match on. |
Args | Arguments passed to the constructor of flecs::system_builder. |
flecs::system system | ( | flecs::entity | e | ) | const |
Upcast entity to a system.
The provided entity must be a system.
e | The entity. |
|
inline |