mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 21:53:59 +00:00
Add Phaser.GameObjects.UpdateList#length
This commit is contained in:
parent
de8462efed
commit
5be5ea8024
1 changed files with 18 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue