mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Update docstring for TimerEvent
I think the TimerEvent lifecycle could use some clarification so I updated the docstring to explain what happens when they are finished firing.
This commit is contained in:
parent
9f28d0659d
commit
3c2003365d
1 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,9 @@
|
|||
*
|
||||
* It consists of a delay, which is a value in milliseconds after which the event will fire.
|
||||
* When the event fires it calls a specific callback with the specified arguments.
|
||||
*
|
||||
*
|
||||
* TimerEvents are removed by their parent timer once finished firing or repeating.
|
||||
*
|
||||
* Use {@link Phaser.Timer#add}, {@link Phaser.Timer#repeat}, or {@link Phaser.Timer#loop} methods to create a new event.
|
||||
*
|
||||
* @class Phaser.TimerEvent
|
||||
|
|
Loading…
Add table
Reference in a new issue