21 #ifndef HX3D_UTILS_TIMER 22 #define HX3D_UTILS_TIMER 47 Timer(
long delay,
bool loop =
false);
55 void initialize(
long delay,
bool loop =
false);
void update(float delta)
Update the timer.
void reset()
Reset the timer.
void initialize(long delay, bool loop=false)
Initialize the timer with a delay.
bool hasEnded()
Test if the timer has ended.
bool isLooping()
Is the timer looping ?
Timer()
Create an uninitialized timer. See initialize.
long remaining()
Get the remaining time as milliseconds.