import Phaser, { Game } from 'phaser'

import PlayScene from './scenes/PlayScene'
import GameOverScene from './scenes/GameOverScene'
import StartScene from './scenes/StartScene'

const config: Phaser.Types.Core.GameConfig = {
	type: Phaser.AUTO,

	width: 800,
	height: 600,

	parent: "gameBox",

	physics: {
		default: 'arcade',
		arcade: {
			debug: false
		}
	},
	scene: [StartScene, PlayScene, GameOverScene]
}

export default new Phaser.Game(config)
