Beispiel #1
0
    public bool CastCardFromHand(Card card)
    {
        var takenCard = Hand.ConfirmExistsAndTake(card);

        if (takenCard != null)
        {
            Discard.AddCard(takenCard);
            return(true);
        }

        return(false);
    }
Beispiel #2
0
    public void MillCard(Card card)
    {
        var cardToMill = Deck.ConfirmExistsAndTake(card);

        if (cardToMill != null)
        {
            Discard.AddCard(cardToMill);
        }
    }