File size: 445 Bytes
670a607
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import Base from '../base/Base.js';
import ShapesUpdateMethods from '../../../plugins/gameobjects/shape/customshapes/ShapesUpdateMethods.js';

const GetValue = Phaser.Utils.Objects.GetValue;

class Custom extends Base {
    constructor(scene, config) {
        super(scene, config);
        this.type = GetValue(config, 'type', 'rexSpinnerCustom');
    }
}

Object.assign(
    Custom.prototype,
    ShapesUpdateMethods
);

export default Custom;