Method Range
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
Range(int)
Generates a Random integer between 0 inclusive and the given max, exclusive.
public static int Range(int max)
Parameters
max
int
Returns
Range(int, int)
Generates a Random integer between the given min inclusive and the given max, exclusive.
public static int Range(int min, int max)
Parameters
Returns
Range(float)
Generates a Random float between 0.0f inclusive and the given max
public static float Range(float max)
Parameters
max
float
Returns
Range(float, float)
Generates a Random float between the given min inclusive and the given max, exclusive.
public static float Range(float min, float max)