UNPKG

phaser4-rex-plugins

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