var hintboxSalary = {
    create: function(scene, { posX , posY , text  }) {
        this.hintboxSalary = scene.add.group();
        var textMarginTop = 150;
        var textMarginBottom = 48;
        var textMarginHorizontal = 126;
        //TODO: Disable hand pointer
        this.hintBGZone = scene.add.zone(0, 0, width, height).setOrigin(0).setInteractive({
            useHandCursor: false
        }).on("pointerup", function() {});
        this.hintBg = scene.add.image(0, 0, "HintSalary");
        this.hintBg.setScale(1);
        this.hintText = scene.add.text(posX, posY, text, {
            fontFamily: "TheSansMono-8-Bold",
            color: "#000",
            fontSize: "38px",
            align: "left",
            wordWrap: {
                width: 700
            }
        });
        var textBounds = this.hintText.getBounds();
        this.hintBg.setOrigin(0).setPosition(textBounds.x - textMarginHorizontal, textBounds.y - textMarginTop);
        this.hintboxSalary.addMultiple([
            this.hintBGZone,
            this.hintBg,
            this.hintText
        ]);
        this.hintboxSalary.setDepth(999);
        return this.hintboxSalary;
    }
};

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