GameObjectFactory#existing()

existing(object) → {any}

Adds an existing display object to the game world.

Parameters
Name Type Description
object any

An instance of Phaser.Sprite, Phaser.Button or any other display object.

Returns
any -

The child that was added to the World.

Source code: gameobjects/GameObjectFactory.js (Line 35)
doc_phaser
2017-02-14 10:48:41
Comments
Leave a Comment

Please login to continue.