Spaces:
Build error
Build error
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; |