This is used by expressions to return 0 when a timer doesn't exist, because numeric expressions must always return a number.
The scene owning the timer.
The timer name.
The timer elapsed time in seconds or 0 if the timer doesn't exist.
This is used by conditions to return false when a timer doesn't exist, no matter the relational operator.
The scene owning the timer.
The timer name.
The timer elapsed time in seconds or NaN if the timer doesn't exist.
Check if the game has just resumed from being hidden
Test a timer elapsed time, if the timer doesn't exist it is created.
The scene owning the timer
The time value to check in seconds
The timer name
True if the timer exists and its value is greater than or equal than the given time, false otherwise
Generated using TypeDoc
Check if a scene exists.