text: 'use strict';
  
  
  class BootScene extends Phaser.Scene {
    constructor() {
      super('Boot');
    }
  
    preload() {
      // load images
      this.loadImages();
      // load spritesheets
      this.loadSpriteSheets();
      //load audio
      this.loadAudio('goldSound', ['assets/audio/Pickup.wav']);
    }
  
    loadImages() {
      this.load.image('button1', 'assets/images/ui/blue_button01.png');
      this.load.image('button2', 'assets/images/ui/blue_button02.png');
    }
  
    loadSpriteSheets() {
      this.load.spritesheet('items', 'assets/images/items.png', { frameWidth: 32, frameHeight: 32 });
      this.load.spritesheet('characters', 'assets/images/characters.png', { frameWidth: 32, frameHeight: 32 });
    }
  
    loadAudio() {
      this.load.audio('goldSound', ['assets/audio/Pickup.wav']);
    }
  
    create() {
      this.scene.start('Title');
    }
  }