A seeded pseudo-random generator.

Constructor

new()

Create a new random with random seed.

Methods

float():Float

Return a random float.

int(max:Int):Int

Return a random integer modulo max.

setSeed(s:Int):Void

Set the generator seed.