UNPKG

phaser3-rex-plugins-fix-chun

Version:
7 lines (6 loc) 266 B
import TransitionImage from './TransitionImage.js'; export default function (x, y, texture, frame, config) { var gameObject = new TransitionImage(this.scene, x, y, texture, frame, config); this.scene.add.existing(gameObject); return gameObject; };