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

Component used for one shot/interval timer functionality. More...

#include <timer.h>

Public Attributes

ecs_ftime_t timeout
 Timer timeout period. More...
 
ecs_ftime_t time
 Incrementing time value. More...
 
int32_t fired_count
 Number of times ticked. More...
 
bool active
 Is the timer active or not. More...
 
bool single_shot
 Is this a single shot timer. More...
 

Detailed Description

Component used for one shot/interval timer functionality.

Definition at line 35 of file timer.h.

Member Data Documentation

◆ active

bool EcsTimer::active

Is the timer active or not.

Definition at line 39 of file timer.h.

◆ fired_count

int32_t EcsTimer::fired_count

Number of times ticked.

Definition at line 38 of file timer.h.

◆ single_shot

bool EcsTimer::single_shot

Is this a single shot timer.

Definition at line 40 of file timer.h.

◆ time

ecs_ftime_t EcsTimer::time

Incrementing time value.

Definition at line 37 of file timer.h.

◆ timeout

ecs_ftime_t EcsTimer::timeout

Timer timeout period.

Definition at line 36 of file timer.h.


The documentation for this struct was generated from the following file: