AgentVerse's picture
first commit
670a607
raw
history blame contribute delete
445 Bytes
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;