Represents a timer, which must be updated manually with gdjs.Timer.updateTime.
The name of the timer.
Get the name of the timer
The name of the timer
Get the time of the timer, in milliseconds.
The time of the timer, in milliseconds.
Check if the timer is paused.
Reset the time to zero.
Set if the timer is paused.
true to pause the timer, false otherwise.
Change the time.
The new time, in milliseconds.
Notify the timer that some time has passed.
The elapsed time, in milliseconds.
Generated using TypeDoc