Seeded random number generator to get reproducible sequences of values.

Constructor

inlinenew(seed:Float)

Variables

read onlyseed:Float

Methods

inlinerandom():Float

Returns a float number between [0,1)

inlinebetween(min:Int, max:Int):Int

Return an integer between [min, max).

inlinereset(?initialSeed:Float):Void

Reset the initial value to that of the current seed.