YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::RandomHelper Class Reference

#include <RandomHelper.hpp>

Collaboration diagram for yap::RandomHelper:

List of all members.

Static Public Member Functions

static void Init (uint seed)
static int GetNext (const int &min, const int &max)
static float GetNext (const float &min, const float &max)
static double GetNext (const double &min, const double &max)
static bool Percentage (const float &percentage)

Private Member Functions

 DISALLOW_COPY (RandomHelper)
 RandomHelper ()
 ~RandomHelper ()

Static Private Member Functions

static int GetNext ()

Detailed Description

Definition at line 9 of file RandomHelper.hpp.


Constructor & Destructor Documentation

yap::RandomHelper::RandomHelper ( )
private
yap::RandomHelper::~RandomHelper ( )
private

Member Function Documentation

yap::RandomHelper::DISALLOW_COPY ( RandomHelper  )
private
int yap::RandomHelper::GetNext ( const int &  min,
const int &  max 
)
static

Definition at line 12 of file RandomHelper.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

float yap::RandomHelper::GetNext ( const float &  min,
const float &  max 
)
static

Definition at line 17 of file RandomHelper.cpp.

Here is the call graph for this function:

double yap::RandomHelper::GetNext ( const double &  min,
const double &  max 
)
static

Definition at line 22 of file RandomHelper.cpp.

Here is the call graph for this function:

int yap::RandomHelper::GetNext ( )
staticprivate

Definition at line 27 of file RandomHelper.cpp.

Here is the caller graph for this function:

void yap::RandomHelper::Init ( uint  seed)
static

Definition at line 7 of file RandomHelper.cpp.

bool yap::RandomHelper::Percentage ( const float &  percentage)
static

Definition at line 32 of file RandomHelper.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


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