Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Public Member Functions | Protected Attributes | List of all members
cqsp::common::util::IRandom Class Referenceabstract

#include <random.h>

Inheritance diagram for cqsp::common::util::IRandom:
cqsp::common::util::StdRandom

Public Member Functions

 IRandom (int _seed)
 
virtual ~IRandom ()=default
 
virtual int GetRandomInt (int, int)=0
 
virtual int GetRandomNormal (double, double)=0
 

Protected Attributes

int seed
 

Constructor & Destructor Documentation

◆ IRandom()

cqsp::common::util::IRandom::IRandom ( int  _seed)
inlineexplicit

◆ ~IRandom()

virtual cqsp::common::util::IRandom::~IRandom ( )
virtualdefault

Member Function Documentation

◆ GetRandomInt()

virtual int cqsp::common::util::IRandom::GetRandomInt ( int  ,
int   
)
pure virtual

◆ GetRandomNormal()

virtual int cqsp::common::util::IRandom::GetRandomNormal ( double  ,
double   
)
pure virtual

Member Data Documentation

◆ seed

int cqsp::common::util::IRandom::seed
protected

The documentation for this class was generated from the following file: