The Excalibur timer hooks into the internal timer and fires callbacks, after a certain interval, optionally repeating.
Cancels the timer, preventing any further executions.
Removes a callback from the callback list to be fired after the interval is complete.
The callback to be removed from the callback list, to be fired after the interval is complete.
Adds a new callback to be fired after the interval is complete
The callback to be added to the callback list, to be fired after the interval is complete.
Pauses the timer so that no more time will be incremented towards the next call
Resets the timer so that it can be reused, and optionally reconfigure the timers interval.
If specified, sets a new non-negative interval in milliseconds to refire the callback
If specified, sets a new non-negative upper limit to the number of time this timer executes
Unpauses the timer. Time will now increment towards the next call
Updates the timer after a certain number of milliseconds have elapsed. This is used internally by the engine.
Number of elapsed milliseconds since the last update.