UNPKG

phaser4-rex-plugins

Version:
20 lines (15 loc) 444 B
import Base from '../base/Base.js'; import UpdateShapeMethods from './UpdateShapeMethods.js'; const GetValue = Phaser.Utils.Objects.GetValue; class AIO extends Base { constructor(scene, config) { super(scene, config); this.type = 'rexSpinnerAIO'; this.setAnimationMode(GetValue(config, 'animationMode')); } } Object.assign( AIO.prototype, UpdateShapeMethods, ) export default AIO;