14template <
typename Func>
15const Self&
observe(flecs::entity_t evt, Func&& callback)
const;
25template <
typename Evt,
typename Func>
26const Self&
observe(Func&& callback)
const;
35template <
typename Func>
36const Self&
observe(Func&& callback)
const;
const Self & observe(Func &&callback) const
Observe event on entity.
const Self & observe(Func &&callback) const
Observe event on entity.
const Self & observe(flecs::entity_t evt, Func &&callback) const
Observe event on entity.