Exemple #1
0
        public BaseCard DrawCard()
        {
            if (Deck.Count == 0)
            {
                return(null);
            }

            BaseCard card = Deck[0];

            Deck.RemoveAt(0);

            // Apply possible draw effect
            card.ApplyDrawEffect();

            return(card);
        }