Method | Description | |
---|---|---|
GetRandomFloat ( double fMin, double fmax ) : float |
|
|
GetRandomInt ( int max ) : int |
|
|
GetRandomInt ( int min, int max ) : int |
|
|
GetRandomTrajectory ( double radius, double anglemin, double anglemax = 360 ) : Vector2 |
|
|
GetRandomVector2 ( Vector2 center, double radius ) : Vector2 |
|
|
GetRandomVector2 ( float xMin, float xMax, float yMin, float yMax ) : Vector2 |
|
|
RandomMachine ( int seed ) : System |
Random init with seed
|
public GetRandomFloat ( double fMin, double fmax ) : float | ||
fMin | double | |
fmax | double | |
return | float |
public GetRandomInt ( int min, int max ) : int | ||
min | int | |
max | int | |
return | int |
public GetRandomTrajectory ( double radius, double anglemin, double anglemax = 360 ) : Vector2 | ||
radius | double | |
anglemin | double | |
anglemax | double | |
return | Vector2 |
public GetRandomVector2 ( Vector2 center, double radius ) : Vector2 | ||
center | Vector2 | |
radius | double | |
return | Vector2 |
public GetRandomVector2 ( float xMin, float xMax, float yMin, float yMax ) : Vector2 | ||
xMin | float | |
xMax | float | |
yMin | float | |
yMax | float | |
return | Vector2 |