Skip to content

Commit 5be5ea8

Browse files
committed
Add Phaser.GameObjects.UpdateList#length
1 parent de8462e commit 5be5ea8

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

src/gameobjects/UpdateList.js

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ var UpdateList = new Class({
216216
{
217217
this._list.splice(index, 1);
218218
}
219-
219+
220220
return child;
221221
},
222222

@@ -277,6 +277,23 @@ var UpdateList = new Class({
277277

278278
this.scene = null;
279279
this.systems = null;
280+
},
281+
282+
/**
283+
* [description]
284+
*
285+
* @name Phaser.GameObjects.UpdateList#length
286+
* @type {integer}
287+
* @readOnly
288+
* @since 3.10.0
289+
*/
290+
length: {
291+
292+
get: function ()
293+
{
294+
return this._list.length;
295+
}
296+
280297
}
281298

282299
});

0 commit comments

Comments
 (0)