import Phaser from "phaser";
import GameUI from "./ui/GameUI";
import { GameScene } from "./scenes/GameScene";
import { SplashScene } from "./scenes/SplashScene";
import { StartScene } from "./scenes/StartScene";

new Phaser.Game({
  type: Phaser.AUTO,
  parent: "app",
  scale: {
    mode: Phaser.Scale.RESIZE,
    width: window.innerWidth,
    height: window.innerHeight,
  },
  backgroundColor: "#111",
  pixelArt: true,
  roundPixels: true,
  scene: [SplashScene, StartScene, GameScene, GameUI]
});
