|
Sayonara Player
|
The RandomGenerator class. More...
#include <RandomGenerator.h>
Public Member Functions | |
| void | updateSeed () |
| create new seed | |
| int | getNumber (int min, int max) |
| get a random number More... | |
Static Public Member Functions | |
| static int | getRandomNumber (int min, int max) |
| static std::mt19937 | getGenerator () |
The RandomGenerator class.
| int RandomGenerator::getNumber | ( | int | min, |
| int | max | ||
| ) |
get a random number
| min | minimum |
| max | maximum |