var hintboxTutorial = {
    preload: function() {},
    create: function(scene, audioplayer, sData, { posX , posY  }) {
        this.hintboxTutorial = scene.add.group();
        tutData = sData;
        var textMarginTop = 150;
        var textMarginBottom = 48;
        var textMarginHorizontal = 430;
        this.hintBGZone = scene.add.zone(0, 0, width, height).setOrigin(0).setInteractive().on("pointerup", function() {});
        this.hintBg = scene.add.image(0, 0, "HintPopup");
        this.hintBg.setScale(1);
        this.hintText = scene.add.text(posX + 80, posY, tutData.tutorial.text, {
            fontFamily: "TheSansMono-8-Bold",
            color: "#000",
            fontSize: "30px",
            align: "left",
            wordWrap: {
                width: 700
            }
        });
        this.legendarySkinImg = scene.add.image(posX, posY + 80, "legendarySkin").setScale(0.15).setDepth(1000);
        var textBounds = this.hintText.getBounds();
        this.hintBg.setOrigin(0).setPosition(posX - 110, textBounds.y - textMarginTop + 70);
        this.hintInteractiveZone = scene.add.zone(this.hintBg.x + 750, this.hintBg.y + 420, 400, 200);
        this.hintboxTutorial.addMultiple([
            this.hintBGZone,
            this.hintBg,
            this.hintText,
            this.hintInteractiveZone
        ]);
        this.hintInteractiveZone.setInteractive({
            useHandCursor: true
        }).on("pointerdown", function() {
            this.hintboxTutorial.clear(true, true);
            audioplayer.playSFX("StartButton");
            //Start Game!
            scene.scene.start("Scene01");
            scene.scene.bringToTop(gameConfig.uiLayer);
        }, this);
        this.hintboxTutorial.setDepth(999);
        return this.hintboxTutorial;
    }
};

//# sourceMappingURL=index.ccf6e5e2.js.map
