Exemple #1
0
 /// <summary>
 /// Returns a list of random AffixTypes in this pool, making sure that they are all unique.
 /// If the number of AffixTypes to draw exceeds the number of available AffixTypes, all of them are returned in a random order
 /// </summary>
 /// <param name="n">The number of AffixTypes to draw</param>
 /// <returns></returns>
 public AffixType[] GetUniqueRandomTypes(int n)
 {
     lottery.StartBatchDraw();
     AffixType[] types = GetRandomTypes(n);
     lottery.EndBatchDraw();
     return(types);
 }