![]() |
Flecs v3.2
A fast entity component system (ECS) for C & C++
|
Timer module system mixin. More...
Go to the source code of this file.
Functions | |
ecs_ftime_t | interval () |
Get interval. More... | |
void | timeout (ecs_ftime_t timeout) |
Set timeout. More... | |
ecs_ftime_t | timeout () |
Get timeout. More... | |
void | rate (int32_t rate) |
Set system rate (system is its own tick source). More... | |
void | start () |
Start timer. More... | |
void | stop () |
Stop timer. More... | |
void | set_tick_source (flecs::entity e) |
Set external tick source. More... | |
Timer module system mixin.
Definition in file system_mixin.inl.
ecs_ftime_t interval | ( | ) |
Get interval.
void rate | ( | int32_t | rate | ) |
Set system rate (system is its own tick source).
void set_tick_source | ( | flecs::entity | e | ) |
Set external tick source.
void start | ( | ) |
Start timer.
void stop | ( | ) |
Stop timer.
ecs_ftime_t timeout | ( | ) |
Get timeout.
void timeout | ( | ecs_ftime_t | timeout | ) |
Set timeout.