Randomly picked item, null when length=0
Mean value
Standard deviation. ~95% of the absolute values will be lower than 2*stddev.
A normally distributed pseudorandom value
Pseudorandom value [1,100] inclusive, uniformly distributed
Get RNG state. Useful for storing the state and re-setting it via setState.
Internal state
Pseudorandom value [0,1), uniformly distributed
The lower end of the range to return a value from, inclusive
The upper end of the range to return a value from, inclusive
Pseudorandom value [lowerBound, upperBound], using ROT.RNG.getUniform() to distribute the value
key=whatever, value=weight (relative probability)
whatever
Seed the number generator
Set a previously retrieved state.
New array with randomized items
Generated using TypeDoc
Returns a cloned RNG