UNPKG

phaser4-rex-plugins

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