"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _phaser = _interopRequireDefault(require("phaser"));
var _mountain = _interopRequireDefault(require("../../assets/mountain.png"));
var _martySkiLeft = _interopRequireDefault(require("../../assets/marty-ski-left.png"));
var _martySkiRight = _interopRequireDefault(require("../../assets/marty-ski-right.png"));
var _martySkiStraight = _interopRequireDefault(require("../../assets/marty-ski-straight.png"));
var _martySkiHurt = _interopRequireDefault(require("../../assets/marty-ski-hurt.png"));
var _tree = _interopRequireDefault(require("../../assets/tree.png"));
var _restart = _interopRequireDefault(require("../../assets/restart.png"));
var _gameOver = _interopRequireDefault(require("../../assets/game-over.png"));
var _playbutton = _interopRequireDefault(require("../../assets/playbutton.svg"));
var _stopbutton = _interopRequireDefault(require("../../assets/stopbutton.svg"));
var _hit = _interopRequireDefault(require("../../assets/hit.m4a"));
var _reach = _interopRequireDefault(require("../../assets/reach.m4a"));
var _flags = _interopRequireDefault(require("../../assets/flags.png"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
//@ts-ignore

//@ts-ignore

class PreloadScene extends _phaser.default.Scene {
  constructor() {
    super("PreloadScene");
  }
  preload() {
    this.load.image("mountain", _mountain.default);
    this.load.image("marty-ski-left", _martySkiLeft.default);
    this.load.image("marty-ski-right", _martySkiRight.default);
    this.load.image("marty-ski-straight", _martySkiStraight.default);
    this.load.image("marty-ski-hurt", _martySkiHurt.default);
    this.load.image("flags", _flags.default);
    this.load.image("tree", _tree.default);
    this.load.image("restart", _restart.default);
    this.load.image("game-over", _gameOver.default);
    this.load.image("play", _playbutton.default);
    this.load.image("stop", _stopbutton.default);
    this.load.audio("hit", _hit.default);
    this.load.audio("progress", _reach.default);
  }
  create() {
    this.scene.start("PlayScene");
  }
}
var _default = exports.default = PreloadScene;