Flecs v3.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
mixin.inl File Reference

Observer world mixin. More...

Go to the source code of this file.

Functions

template<typename... Components, typename... Args>
flecs::observer_builder< Components... > observer (Args &&... args) const
 Create a new observer. More...
 

Detailed Description

Observer world mixin.

Definition in file mixin.inl.

Function Documentation

◆ observer()

template<typename... Components, typename... Args>
flecs::observer_builder< Components... > observer ( Args &&...  args) const

Create a new observer.

Template Parameters
ComponentsThe components to match on.
ArgsArguments passed to the constructor of flecs::observer_builder.
Returns
Observer builder.