class Boot extends Phaser.Scene {
    constructor(){
        super("Boot");
    }
    preload() {
        // preloading assets for the MAIN preloader
        this.load.image("menuBG", "assets/backgrounds/TruckBg.png");
        this.load.image("LoaderBar", "assets/img/UI/LoadingScreenBar.png");
        this.load.image("LoaderBarBorder", "assets/img/UI/LoaderBarBorder.png");
        this.load.image("LoaderBarBg", "assets/img/UI/LoaderBarBg.png");
    }
    create() {
        this.sceneBg = this.add.image(0, 0, "menuBG").setDisplaySize(this.sys.canvas.width, this.sys.canvas.height).setOrigin(0);
        this.scene.start("Preloader");
    // this.tweens.add({
    // 	targets:  [this.sceneBg],
    // 	alpha:    {from: 1, to: 0},
    // 	ease:     'Sine.InOut',
    // 	duration:  500,
    // 	onComplete: ()=> {
    // 		this.sceneBg.destroy();
    // 		this.scene.start("Preloader");
    // 	}
    // }, this);
    }
}

//# sourceMappingURL=index.6b614e47.js.map
