Class for random number generation. More...
#include <Random.hpp>
Static Public Member Functions | |
static int | randomInt (int min, int max) |
Generate a random integer between min and max. | |
static int | randomInt () |
static float | randomFloat (float min, float max) |
static float | randomFloat () |
Class for random number generation.
Definition at line 17 of file Random.hpp.
|
inlinestatic |
Definition at line 36 of file Random.hpp.
References randomFloat().
Referenced by randomFloat().
|
static |
min | The minimum value |
max | The maximum value |
Definition at line 10 of file random.cpp.
|
inlinestatic |
Definition at line 28 of file Random.hpp.
References randomInt().
Referenced by randomInt().
|
static |
Generate a random integer between min and max.
min | The minimum value |
max | The maximum value |
Definition at line 3 of file random.cpp.