Method | Description | |
---|---|---|
RandomInt ( int min, int max ) : int |
Produce a random int, within a specified range.
|
|
Randomize ( double d ) : double |
Generate a random number based on the range specified in the constructor.
|
|
Randomize ( double min, double max ) : double |
Generate a random number in the specified range.
|
|
RangeRandomizer ( double min, double max ) |
Construct a range randomizer.
|
public static RandomInt ( int min, int max ) : int | ||
min | int | The minimum value. |
max | int | The maximum value. |
return | int |
public Randomize ( double d ) : double | ||
d | double | The range randomizer ignores this value. |
return | double |
public static Randomize ( double min, double max ) : double | ||
min | double | The minimum value. |
max | double | The maximum value. |
return | double |
public RangeRandomizer ( double min, double max ) | ||
min | double | The minimum random value. |
max | double | The maximum random value. |