class Preloader extends Wrapper{constructor(){super("Preloader")}preload(){this.scale.fullscreenTarget=document.getElementById("gameDiv");var s=this;preloaderBar.create(this,{posX:0,posY:900,callback:()=>{s.complete()}}),this.load.json("gDataSet","assets/data/data.json"),this.load.json("fullDialogData","./assets/dialog/dialog.json"),this.load.json("allHintsData","./assets/dialog/hints.json"),this.load.image("Pokal","assets/img/PokalGold.png"),this.load.image("glow","assets/img/glow.png"),this.load.image("HintPopup","assets/img/UI/HintPopup.png"),this.load.image("HintSalary","assets/img/UI/HintSalary.png"),this.load.image("HomeBtn","assets/img/UI/home.png"),this.load.image("BackBtn","assets/img/UI/UIBackBtn.png"),this.load.image("MenuBar","assets/img/UI/menuBar.png"),this.load.image("euroIcon","assets/img/UI/euroIcon.png"),this.load.image("minusOneSec","assets/img/UI/minusOneSec.png"),this.load.image("buttonSmall","assets/img/UI/button_small.png"),this.load.image("buttonLarge","assets/img/UI/button_large.png"),this.load.image("MinusBtn","assets/img/UI/MinusBtn.png"),this.load.image("PlusBtn","assets/img/UI/PlusBtn.png"),this.load.image("gameOverBG","assets/img/UI/GameOverBG.png"),this.load.image("popupBG","assets/img/UI/popupBG.png"),this.load.image("SoundBtn_on","assets/img/UI/soundBtnOn.png"),this.load.image("SoundBtn_off","assets/img/UI/soundBtnOff.png"),this.load.image("sdStart","assets/img/UI/sdStart.png"),this.load.image("sdBtn","assets/img/UI/sdBtn.png"),this.load.image("beendenBtn","assets/img/UI/ButtonBeenden.png"),this.load.image("kombiBtn","assets/img/UI/ButtonKombiwette.png"),this.load.image("black-layer","assets/img/UI/black-layer.png"),this.load.image("red-layer","assets/img/UI/red-layer.png"),this.load.image("timerBg","assets/img/UI/TimerBg.png"),this.load.audio("bgm2","assets/sounds/finefinFuturesports.mp3"),this.load.audio("booSnd","assets/sounds/boo.mp3"),this.load.audio("cheerSnd","assets/sounds/cheer.mp3"),this.load.audio("cheer2Snd","assets/sounds/cheer2.mp3"),this.load.audio("clapSnd","assets/sounds/clapclap.mp3"),this.load.audio("whistleSnd","assets/sounds/whistle.mp3"),this.load.audio("StartButton","assets/sounds/StartButton.mp3"),this.load.audio("ButtonClick","assets/sounds/ButtonClick.mp3"),this.load.audio("ButtonHover","assets/sounds/ButtonHover.mp3"),this.load.audio("CloseMenu","assets/sounds/CloseMenu.mp3"),this.load.audio("Success","assets/sounds/Success.mp3"),this.load.audio("Research","assets/sounds/Research.mp3"),this.load.audio("Book","assets/sounds/Book.mp3"),this.load.audio("Salary","assets/sounds/Salary.mp3"),this.load.audio("Coins","assets/sounds/Coins.mp3"),this.load.audio("Salary_Failed","assets/sounds/Salary_Failed.mp3"),this.load.audio("Crystal","assets/sounds/Crystal.mp3"),this.load.audio("Lottery","assets/sounds/Lottery.mp3"),this.load.audio("Timeout","assets/sounds/Timeout.mp3"),this.load.audio("Empty_Lootbox","assets/sounds/Empty_Lootbox.mp3"),this.load.audio("Lootbox","assets/sounds/Lootbox.mp3"),this.load.audio("Error","assets/sounds/Error.mp3"),this.load.html("txtInput","assets/html/input.html"),this.load.spritesheet("CoinD","assets/Coin/MonedaD.png",{frameWidth:16,frameHeight:16})}complete(){log("PRELOADER: Asset preload done"),sData=this.cache.json.get("gDataSet"),fullDialog=this.cache.json.get("fullDialogData"),allHints=this.cache.json.get("allHintsData"),this.scene.start(gameConfig.startingScene),this.scene.launch("Audio"),this.scene.launch("DialogManager"),this.scene.launch("Gametimer"),this.scene.launch("Modal"),this.scene.bringToTop("Modal"),this.scene.bringToTop("Gametimer"),this.scene.bringToTop(gameConfig.uiLayer),dialogManager=this.scene.get("DialogManager")}create(){}}
//# sourceMappingURL=index.0dbade11.js.map
