예제 #1
0
 public void InsertBeginningCards(IDeckDict <D> testCards) //this is needed in cases where we need some cards to be at the beginning of the deck.  one hint was tee it up.
 {
     testCards.ForEach(tempCard =>
     {
         var ourCard = _objectList.GetSpecificItem(tempCard.Deck);
         _objectList.RemoveSpecificItem(ourCard);
         _objectList.InsertBeginning(tempCard);
     });
 }