Random number generator

Please use this one instead of the native Haxe one to keep consistency between different platforms.

Static variables

Static methods

staticget():Int

staticgetFloat():Float

staticgetFloatIn(min:Float, max:Float):Float

staticgetIn(min:Int, max:Int):Int

staticgetUpTo(max:Int):Int

staticinit(seed:Int):Void

Constructor

new(seed:Int)

Methods

Get():Int

GetFloat():Float

GetFloatIn(min:Float, max:Float):Float

GetIn(min:Int, max:Int):Int

GetUpTo(max:Int):Int