Skip to content

Commit 158c171

Browse files
committed
Small pool updates
1 parent cbbe152 commit 158c171

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

v3/src/gameobjects/pool/Pool.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ var Pool = new Class({
2929
}
3030
},
3131

32+
// Allow them to add a Group too
3233
add: function (child)
3334
{
3435
if (Array.isArray(child))
@@ -48,9 +49,10 @@ var Pool = new Class({
4849

4950
createMultiple: function ()
5051
{
51-
5252
},
5353

54+
55+
5456
preUpdate: function (time, delta)
5557
{
5658
// Because a Group child may mess with the length of the Group during its update

0 commit comments

Comments
 (0)