Add Phaser.GameObjects.UpdateList#length

This commit is contained in:
samme 2018-06-02 20:59:01 -07:00
parent de8462efed
commit 5be5ea8024

View file

@ -216,7 +216,7 @@ var UpdateList = new Class({
{
this._list.splice(index, 1);
}
return child;
},
@ -277,6 +277,23 @@ var UpdateList = new Class({
this.scene = null;
this.systems = null;
},
/**
* [description]
*
* @name Phaser.GameObjects.UpdateList#length
* @type {integer}
* @readOnly
* @since 3.10.0
*/
length: {
get: function ()
{
return this._list.length;
}
}
});