World#moveAll()

moveAll(group, silent) → {Phaser.Group}

Moves all children from this Group to the Group given.

Parameters
Name Type Argument Default Description
group Phaser.Group

The new Group to which the children will be moved to.

silent boolean <optional>
false

If true the children will not dispatch the onAddedToGroup event for the new Group.

Returns

The Group to which all the children were moved.

Inherited From
Source code: core/Group.js (Line 2479)
doc_phaser
2017-02-14 11:21:18
Comments
Leave a Comment

Please login to continue.