Spaces:
Build error
Build error
import Ball from './Ball.js'; | |
import ObjectFactory from '../ObjectFactory.js'; | |
import SetValue from '../../../plugins/utils/object/SetValue.js'; | |
ObjectFactory.register('ball', function (config) { | |
var gameObject = new Ball(this.scene, config); | |
this.scene.add.existing(gameObject); | |
return gameObject; | |
}); | |
SetValue(window, 'RexPlugins.Spinner.Ball', Ball); | |
export default Ball; |