#include <Random.h>
|
static bool | Init () |
| Initialize the random number generator More...
|
|
static const int | Random0ToN (const int t_max) |
| Get a random int between 0 and the max More...
|
|
static const int | RandomBetween (const int t_min, const int t_max) |
| Generate a random number between the two given values More...
|
|
◆ Init()
bool Fling::Random::Init |
( |
| ) |
|
|
static |
Initialize the random number generator
- Returns
- True if successful
◆ Random0ToN()
const int Fling::Random::Random0ToN |
( |
const int |
t_max | ) |
|
|
static |
Get a random int between 0 and the max
- Parameters
-
t_max | Max number to generate to |
- Returns
- Number between 0 and the given
◆ RandomBetween()
const int Fling::Random::RandomBetween |
( |
const int |
t_min, |
|
|
const int |
t_max |
|
) |
| |
|
static |
Generate a random number between the two given values
- Parameters
-
t_min | Min number to gerneate between |
t_max | Max number to generate between |
- Returns
- Random int between the two values
◆ bIsInitalized
bool Fling::Random::bIsInitalized = false |
|
static |
Flag to determine if random has been initialized.
The documentation for this class was generated from the following files: