Timer

new Timer(target)

Timer for a specific target to call update and render methods on every tick.
Parameters:
NameTypeDescription
targetobject

Methods

start()

Start the timer.

stop()

Stop the timer.

tick()

Tick of the timer.