A class for generating weighted random values. Input objects are dictionary objects where the keys are the strings to be picked from, and the values are the corresponding odds as integers. For example:
{ itemWith25PercentChance: 2, itemWith50PercentChance: 4, otherItemWith25PercentChance: 2 }
springroll.WeightedRandom
object
object
Object
The configuration object for this weighted value generator.