Random
package neko
Available on neko
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.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/neko/Random.html