Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
timer.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Timer
 

Functions

void StartTimer (Timer *timer, float lifetime)
 Start or restart a timer with a specific lifetime. More...
 
void UpdateTimer (Timer *timer)
 Update a timer with the current frame time. More...
 
bool TimerDone (Timer *timer)
 Check if a timer is done. More...
 

Function Documentation

◆ StartTimer()

void StartTimer ( Timer timer,
float  lifetime 
)

Start or restart a timer with a specific lifetime.

Definition at line 7 of file timer.cpp.

+ Here is the caller graph for this function:

◆ TimerDone()

bool TimerDone ( Timer timer)

Check if a timer is done.

Definition at line 30 of file timer.cpp.

+ Here is the caller graph for this function:

◆ UpdateTimer()

void UpdateTimer ( Timer timer)

Update a timer with the current frame time.

Definition at line 18 of file timer.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: