mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
Added getChildren to keep inline with Group
This commit is contained in:
parent
9bc71dc676
commit
c9efa21cfd
1 changed files with 13 additions and 0 deletions
|
@ -176,6 +176,19 @@ var DisplayList = new Class({
|
||||||
return gameObjects[gameObjects.length - 1];
|
return gameObjects[gameObjects.length - 1];
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* All members of the group.
|
||||||
|
*
|
||||||
|
* @method Phaser.GameObjects.DisplayList#getChildren
|
||||||
|
* @since 3.12.0
|
||||||
|
*
|
||||||
|
* @return {Phaser.GameObjects.GameObject[]} The group members.
|
||||||
|
*/
|
||||||
|
getChildren: function ()
|
||||||
|
{
|
||||||
|
return this.list;
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Scene that owns this plugin is shutting down.
|
* The Scene that owns this plugin is shutting down.
|
||||||
* We need to kill and reset all internal properties as well as stop listening to Scene events.
|
* We need to kill and reset all internal properties as well as stop listening to Scene events.
|
||||||
|
|
Loading…
Reference in a new issue