import Phaser from 'phaser'
import LoadingScene from './scene/loading'
import GameScene from './scene/game'

const config = {
  type: Phaser.AUTO,
  width: 800,
  height: 600,
  parent: 'container',
  backgroundColor: '#222',

  scene: [LoadingScene, GameScene]
}

const game = new Phaser.Game(config)

// FOR DEBUGING ONLY
window.DEBUG = { game }
