Beispiel #1
0
    public override void OpenTip(TipPopUpOpener tipPopUpOpener)
    {
        Card c = cardToPullData;

        title = c.GetColoredTitleForTip();

        TipSectionData cardArt = new TipSectionData(background: c.GetCardVerticalSprite());

        TipSectionData explanatoryText = new TipSectionData(c.GetExplanatoryText(), textHeight);

        if (cardToPullData.IgnoreOpponentsBlock)
        {
            TipSectionData ignoreBlock = new TipSectionData(message: "    -> IGNORES PROTECTION.", background: ignoreIconSprite, height: 70);
            tipData = new[] { ignoreBlock, explanatoryText, cardArt };
        }
        else
        {
            tipData = new[] { explanatoryText, cardArt };
        }

        base.OpenTip(tipPopUpOpener);
    }
Beispiel #2
0
 public override void OpenTip(TipPopUpOpener _)
 {
     battleRulesPopUpOpener.OpenBattleRulesPopUp();
 }