예제 #1
0
 public void RemoveCards(int whichOne)
 {
     if (TempList.Count != 13)
     {
         throw new BasicBlankException("Must have 13 cards to remove the 13 cards");
     }
     TempList.ForEach(tempCard => Piles.RemoveSpecificCardFromColumn(whichOne, tempCard.Deck));
     if (Piles.HasCardInColumn(whichOne))
     {
         var thisCard = Piles.GetLastCard(whichOne);
         Piles.RemoveFromUnknown(thisCard);
     }
     UnselectAllColumns();
 }