|
C++ Project 2016-2017: Arkanoid
|
Singleton: generates "random" numbers. More...
#include <random.h>
Public Member Functions | |
| double | randomDouble (int from, int to) |
Static Public Member Functions | |
| static Random * | getInstance () |
|
static |
Get an instance of the Random object.
Definition at line 20 of file random.cpp.
| double arkanoid::Random::randomDouble | ( | int | from, |
| int | to | ||
| ) |
Generates a "random" double between a given range.
| from | The lowest value of the range. |
| to | The highest value of the range. |
Definition at line 28 of file random.cpp.
1.8.13