Beispiel #1
0
 public WeightedSelector(List <WeightedItem <T> > items, SelectorOption option = null) : this(option)
 {
     Add(items);
 }
Beispiel #2
0
 public WeightedSelector(IEnumerable <WeightedItem <T> > items, SelectorOption option = null) : this(option)
 {
     Add(items);
 }
Beispiel #3
0
 public WeightedSelector(SelectorOption option = null)
 {
     Option = option ?? new SelectorOption();
 }