Random
class Random
It is the class responsible for generating random values.
public class Random
— Methods (2) —
| Name | Description |
|---|---|
| int range(int min, int max) | Returns a random value between two numbers with a minimum and maximum value passed to be "min" and "max" argument. |
| float range(float min, float max) | Returns a random value between two numbers with a minimum and maximum value passed to be "min" and "max" argument. |