import Phaser from 'phaser'; import TestScene from './scenes/test'; class Game { constructor(width, height, backend) { this.config = { type: Phaser.AUTO, width: width, height: height, scene: TestScene }; this.game = new Phaser.Game(this.config); this.backend = backend; this.backend.game = this; } } export default Game;