Esempio n. 1
0
 /// <summary>
 /// Merges the other dictionary to this dictionary.
 /// </summary>
 public void Merge(CardDistribution other)
 {
     foreach (KeyValuePair <CardSet, int> kvp in other.HandCounters)
     {
         AddHand(kvp.Key, kvp.Value);
     }
 }
Esempio n. 2
0
 public CardDistribution(CardDistribution other)
 {
     HandCounters = new Dictionary <CardSet, int>(other.HandCounters);
     TotalCounter = other.TotalCounter;
 }