![]() |
Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
|
A random engine. More...
#include <gf/Random.h>
Public Types | |
| using | result_type = uint64_t |
Public Member Functions | |
| RandomEngine () | |
| RandomEngine (result_type seed) | |
| result_type | operator() () |
| void | shortJump () |
| void | longJump () |
Static Public Member Functions | |
| static constexpr result_type | min () |
| static constexpr result_type | max () |
A random engine.
| using gf::RandomEngine::result_type = uint64_t |
| gf::RandomEngine::RandomEngine | ( | ) |
| gf::RandomEngine::RandomEngine | ( | result_type | seed | ) |
| void gf::RandomEngine::longJump | ( | ) |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
| result_type gf::RandomEngine::operator() | ( | ) |
| void gf::RandomEngine::shortJump | ( | ) |