예제 #1
0
        public BlackCard ShowBlackCard()
        {
            Random    rand    = new Random();
            int       cardNum = rand.Next(0, BlackCards.Count);
            BlackCard card    = BlackCards[cardNum];

            BlackCards.RemoveAt(cardNum);
            return(card);
        }
예제 #2
0
 public void AddBlackCard(BlackCard blackCard)
 {
     BlackCards.Add(blackCard);
 }