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); }
public override void OpenTip(TipPopUpOpener _) { battleRulesPopUpOpener.OpenBattleRulesPopUp(); }