![]() |
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. | |
| void | timeout (ecs_ftime_t timeout) |
| Set timeout. | |
| ecs_ftime_t | timeout () |
| Get timeout. | |
| void | rate (int32_t rate) |
| Set system rate (system is its own tick source). | |
| void | start () |
| Start timer. | |
| void | stop () |
| Stop timer. | |
| void | set_tick_source (flecs::entity e) |
| Set external tick source. | |
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.