Skip to content

Commit 8a2ea67

Browse files
committed
Group.createMultipleCallback added
1 parent 011ebb5 commit 8a2ea67

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

v3/src/gameobjects/group/Group.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ var Group = new Class({
3838

3939
this.createCallback = GetFastValue(config, 'createCallback', null);
4040
this.removeCallback = GetFastValue(config, 'removeCallback', null);
41+
this.createMultipleCallback = GetFastValue(config, 'createMultipleCallback', null);
4142

4243
if (config)
4344
{
@@ -186,6 +187,11 @@ var Group = new Class({
186187
Actions.GridAlign(entries, grid);
187188
}
188189

190+
if (this.createMultipleCallback)
191+
{
192+
this.createMultipleCallback.call(this, entries);
193+
}
194+
189195
return entries;
190196
},
191197

0 commit comments

Comments
 (0)