Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
Public Types | Public Member Functions | Static Public Member Functions | List of all members
gf::RandomEngine Class Reference

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 ()
 

Detailed Description

A random engine.

See also
gf::Random

Member Typedef Documentation

◆ result_type

Constructor & Destructor Documentation

◆ RandomEngine() [1/2]

gf::RandomEngine::RandomEngine ( )

◆ RandomEngine() [2/2]

gf::RandomEngine::RandomEngine ( result_type  seed)

Member Function Documentation

◆ longJump()

void gf::RandomEngine::longJump ( )

◆ max()

static constexpr result_type gf::RandomEngine::max ( )
inlinestaticconstexpr

◆ min()

static constexpr result_type gf::RandomEngine::min ( )
inlinestaticconstexpr

◆ operator()()

result_type gf::RandomEngine::operator() ( )

◆ shortJump()

void gf::RandomEngine::shortJump ( )