Skip to content

Commit 8d89c42

Browse files
committed
Group configs can now set the classType
1 parent 7ae478c commit 8d89c42

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

v3/src/checksum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
var CHECKSUM = {
2-
build: '6b8c2e70-66f1-11e7-b643-6b4ad5936419'
2+
build: 'e15f6f20-66f8-11e7-99fa-f3e6047b8036'
33
};
44
module.exports = CHECKSUM;

v3/src/gameobjects/group/Group.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ var Group = new Class({
8282

8383
createFromConfig: function (options)
8484
{
85+
this.classType = GetValue(options, 'classType', this.classType);
86+
8587
var key = GetValue(options, 'key', undefined);
8688
var frame = GetValue(options, 'frame', null);
8789
var visible = GetValue(options, 'visible', true);

0 commit comments

Comments
 (0)