Esempio n. 1
0
        public bool Play(IRuntimeCard card)
        {
            var hasCard = Player.Hand.Has(card);

            if (!hasCard)
            {
                return(false);
            }

            var cost = card.Data.CardCost;

            Player.ConsumeMana(cost);
            Player.Hand.Remove(card);
            card.Play();
            Player.Graveyard.AddCard(card);
            OnPlayCard(Player, card);
            return(true);
        }