Skip to content

Commit a67e5db

Browse files
authored
Merge pull request phaserjs#3726 from samme/feature/updatelist-length
Add Phaser.GameObjects.UpdateList#length
2 parents d01758e + 5be5ea8 commit a67e5db

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

src/gameobjects/UpdateList.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,23 @@ var UpdateList = new Class({
282282

283283
this.scene = null;
284284
this.systems = null;
285+
},
286+
287+
/**
288+
* [description]
289+
*
290+
* @name Phaser.GameObjects.UpdateList#length
291+
* @type {integer}
292+
* @readOnly
293+
* @since 3.10.0
294+
*/
295+
length: {
296+
297+
get: function ()
298+
{
299+
return this._list.length;
300+
}
301+
285302
}
286303

287304
});

0 commit comments

Comments
 (0)