private static IComparable GetColor(ICardInfo card) { if (MagicRules.IsLand(card.Type)) { return(DisplayColor.Land); } if (MagicRules.IsSpecial(card.Type)) { return(DisplayColor.Special); } return(MagicRules.GetDisplayColor(card.AllPartCastingCost)); }
private static IComparable GetCardType(ICardInfo card) { return(MagicRules.GetDisplayCardType(card.Type, card.CastingCost)); }
private static IComparable GetConvertedCastCost(ICardInfo card) { return(MagicRules.GetConvertedCastCost(card.AllPartCastingCost)); }