Various randomness-related utility functions.
Available since:
4.0.0
Static variables
static read only random : Float
A pseudo-random Float produced using HXP's random seed, where 0 <= Float < 1.
Static functions
View source
Parameters:
Returns:
static randInt (amount : Int) : Int
Returns a pseudo-random Int.
Parameters:
amount | The returned Int will always be 0 <= Int < amount. |
Returns:
The Int.