Timer#start()

start(delay) Starts this Timer running. Parameters Name Type Argument Default Description delay integer <optional> 0 The number of milliseconds, in game time, that should elapse before the Timer will start. Source code: time/Timer.js (Line 293)

Timer#seconds

[readonly] seconds : number The duration in seconds that this Timer has been running for. Source code: time/Timer.js (Line 734)

Timer#running

[readonly] running : boolean True if the Timer is actively running. Do not modify this boolean - use pause (and resume) to pause the timer. Source code: time/Timer.js (Line 39)

Timer#resume()

resume() Resumes the Timer and updates all pending events. Source code: time/Timer.js (Line 590)

Timer#repeat()

repeat(delay, repeatCount, callback, callbackContext, arguments) → {Phaser.TimerEvent} Adds a new TimerEvent that will always play through once and then repeat for the given number of iterations. The event will fire after the given amount of delay in milliseconds has passed, once the Timer has started running.The delay is in relation to when the Timer starts, not the time it was added.If the Timer is already running the delay will be calculated based on the timers current time. Make sure to c

Timer#removeAll()

removeAll() Removes all Events from this Timer and all callbacks linked to onComplete, but leaves the Timer running.The onComplete callbacks won't be called. Source code: time/Timer.js (Line 631)

Timer#remove()

remove(event) Removes a pending TimerEvent from the queue. Parameters Name Type Description event Phaser.TimerEvent The event to remove from the queue. Source code: time/Timer.js (Line 334)

Timer#paused

[readonly] paused : boolean The paused state of the Timer. You can pause the timer by calling Timer.pause() and Timer.resume() or by the game pausing. Source code: time/Timer.js (Line 91)

Timer#pause()

pause() Pauses the Timer and all events in the queue. Source code: time/Timer.js (Line 510)

Timer#onComplete

onComplete : Phaser.Signal This signal will be dispatched when this Timer has completed which means that there are no more events in the queue. The signal is supplied with one argument, timer, which is this Timer object. Source code: time/Timer.js (Line 72)