Flecs
v3.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
system_mixin.inl
Go to the documentation of this file.
1
14
void
interval
(
ecs_ftime_t
interval
);
15
19
ecs_ftime_t
interval
();
20
24
void
timeout
(
ecs_ftime_t
timeout
);
25
29
ecs_ftime_t
timeout
();
30
34
void
rate
(int32_t
rate
);
35
39
void
start
();
40
44
void
stop
();
45
49
void
set_tick_source
(
flecs::entity
e);
50
flecs::system::interval
void interval(ecs_ftime_t interval)
Set interval.
ecs_ftime_t
#define ecs_ftime_t
Customizable precision for scalar time values.
Definition:
flecs.h:42
flecs::entity
Entity.
Definition:
entity.hpp:30
timeout
ecs_ftime_t timeout()
Get timeout.
interval
ecs_ftime_t interval()
Get interval.
start
void start()
Start timer.
stop
void stop()
Stop timer.
rate
void rate(int32_t rate)
Set system rate (system is its own tick source).
set_tick_source
void set_tick_source(flecs::entity e)
Set external tick source.