class Random
package rice2d.tools
Static methods
staticrandomRangeF(min:Float, max:Float):Float
Get random Float from minimum to maximum range
Parameters:
min | minimum value of range |
---|---|
max | maximum value of range |
Returns:
Float Random Float value
staticrandomRangeI(min:Int, max:Int):Int
Get random Int from minimum to maximum range
Parameters:
min | minimum value of range |
---|---|
max | maximum value of range |
Returns:
Int Random Int value