mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
Added Layer.getChildren.
This commit is contained in:
parent
0370ebf15e
commit
198101c683
2 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
var CHECKSUM = {
|
var CHECKSUM = {
|
||||||
build: '0f40b6a0-1b37-11e7-9eae-cd352333bf02'
|
build: 'faa78460-1b9c-11e7-ae3c-65c5c22515dc'
|
||||||
};
|
};
|
||||||
module.exports = CHECKSUM;
|
module.exports = CHECKSUM;
|
|
@ -165,6 +165,11 @@ var Layer = new Class({
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
getChildren: function ()
|
||||||
|
{
|
||||||
|
return this.children.entries;
|
||||||
|
},
|
||||||
|
|
||||||
destroy: function ()
|
destroy: function ()
|
||||||
{
|
{
|
||||||
this.children.clear();
|
this.children.clear();
|
||||||
|
|
Loading…
Reference in a new issue