Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
CRandom Class Reference

#include <crandom.h>

Public Member Functions

 CRandom (void)
 
 ~CRandom (void)
 
int Get_Int (void)
 
int Get_Int (int max)
 
int Get_Int (int min, int max)
 
float Get_Float (void)
 
float Get_Float (float max)
 
float Get_Float (float min, float max)
 

Detailed Description

Definition at line 57 of file crandom.h.

Constructor & Destructor Documentation

◆ CRandom()

CRandom::CRandom ( void )
inline

Definition at line 60 of file crandom.h.

◆ ~CRandom()

CRandom::~CRandom ( void )
inline

Definition at line 61 of file crandom.h.

Member Function Documentation

◆ Get_Float() [1/3]

float CRandom::Get_Float ( float max)
inline

Definition at line 76 of file crandom.h.

◆ Get_Float() [2/3]

float CRandom::Get_Float ( float min,
float max )
inline

Definition at line 102 of file crandom.h.

◆ Get_Float() [3/3]

float CRandom::Get_Float ( void )
inline

Definition at line 73 of file crandom.h.

◆ Get_Int() [1/3]

int CRandom::Get_Int ( int max)
inline

Definition at line 67 of file crandom.h.

◆ Get_Int() [2/3]

int CRandom::Get_Int ( int min,
int max )
inline

Definition at line 87 of file crandom.h.

◆ Get_Int() [3/3]

int CRandom::Get_Int ( void )
inline

Definition at line 64 of file crandom.h.


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