40 [[nodiscard]]
int getInt(
int min,
int max);
45 std::mt19937 generator;
float getFloat()
Function that returns a random float value between 0 and 1.
Definition Random.cpp:23
static Random & getInstance()
Returns an instance of the Random class.
Definition Random.cpp:12
void operator=(const Random &)=delete
int getInt(int min, int max)
Helper function that returns a random value between the given min and max. Including the max.
Definition Random.cpp:18
Random(Random &other)=delete
Definition Difficulty.h:6