UNPKG

phaser4-rex-plugins

Version:
10 lines (7 loc) 288 B
import RoundRectangle from '../../roundrectangle/RoundRectangle.js'; var CreateRoundRectangle = function (scene, config) { var gameObject = new RoundRectangle(scene, config); scene.add.existing(gameObject); return gameObject; } export default CreateRoundRectangle;