DisplayObjectContainer#addChild()

addChild(child) → {DisplayObject}

Adds a child to the container.

Parameters
Name Type Description
child DisplayObject

The DisplayObject to add to the container

Returns

The child that was added.

Source code: pixi/display/DisplayObjectContainer.js (Line 42)
doc_phaser
2017-02-14 10:44:49
Comments
Leave a Comment

Please login to continue.