Class WeightedPool<T>
- Namespace
- GrindFest.Generation.Common
- Assembly
- GrindFest.dll
Weighted random pick. Entries with higher weight are picked more often. Built from a flat list of (item, weight) tuples.
public class WeightedPool<T>
Type Parameters
T
- Inheritance
-
objectWeightedPool<T>