Exemple #1
0
 /// <summary>
 /// This constructor allows us to directly modify the cards contained in the deck.
 /// Since its only purpose is to simplify the implementation of the Clone() method,
 /// it's declared private.
 /// </summary>
 /// <param name="newCards"></param>
 private Deck(Cards newCards)
 {
     cards = newCards;
 }