var hintboxResults = {
    create: function(scene, { posX , posY , text  }) {
        this.hintboxResults = scene.add.group();
        var textMarginTop = 80;
        var textMarginBottom = 48;
        var textMarginHorizontal = 126;
        //TODO: Disable hand pointer
        //Zones that leave Screenshot Button clickable
        this.hintBGZone = scene.add.zone(0, 0, width / 2, height).setOrigin(0).setInteractive({
            useHandCursor: false
        }).on("pointerup", function() {});
        this.hintBGZone2 = scene.add.zone(0, 0, width, height - 100).setOrigin(0).setInteractive({
            useHandCursor: false
        }).on("pointerup", function() {});
        this.hintBg = scene.add.image(0, 0, "HintPopup");
        this.hintBg.setScale(1);
        this.hintText = scene.add.text(posX, posY, text, {
            fontFamily: "TheSansMono-8-Bold",
            color: "#000",
            fontSize: "26px",
            align: "left",
            wordWrap: {
                width: 700
            }
        });
        var textBounds = this.hintText.getBounds();
        this.hintBg.setOrigin(0).setPosition(textBounds.x - textMarginHorizontal, textBounds.y - textMarginTop);
        this.hintInteractiveZone = scene.add.zone(this.hintBg.x + 750, this.hintBg.y + 430, 400, 150);
        this.hintboxResults.addMultiple([
            this.hintBGZone,
            this.hintBGZone2,
            this.hintBg,
            this.hintText,
            this.hintInteractiveZone
        ]);
        this.hintInteractiveZone.setInteractive({
            useHandCursor: true
        }).on("pointerdown", function() {
            this.hintboxResults.clear(true, true);
        }, this);
        this.hintboxResults.setDepth(999);
        //scene.scene.bringToTop('hintboxResults');
        return this.hintboxResults;
    }
};

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