Time#create()

create(autoDestroy) → {Phaser.Timer}

Creates a new stand-alone Phaser.Timer object.

Parameters
Name Type Argument Default Description
autoDestroy boolean <optional>
true

A Timer that is set to automatically destroy itself will do so after all of its events have been dispatched (assuming no looping events).

Returns

The Timer object that was created.

Source code: time/Time.js (Line 323)
doc_phaser
2017-02-14 11:18:00
Comments
Leave a Comment

Please login to continue.