UNPKG

phaser4-rex-plugins

Version:
7 lines (6 loc) 287 B
import CircularProgress from './CircularProgress.js'; export default function (x, y, radius, barColor, value, config) { var gameObject = new CircularProgress(this.scene, x, y, radius, barColor, value, config); this.scene.add.existing(gameObject); return gameObject; };