Torque2D Reference
|
#include <mRandom.h>
Public Member Functions | |
void | resetSeed (void) |
S32 | getSeed (void) const |
F32 | randRangeF (const F32 from, const F32 to) |
S32 | randRangeI (const S32 from, const S32 to) |
virtual F32 | randF (void) |
virtual U32 | randI (void)=0 |
virtual void | setSeed (const S32 seed)=0 |
Protected Member Functions | |
RandomGeneratorBase () | |
Protected Attributes | |
S32 | mSeed |
|
inlineprotected |
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in RandomR250, and RandomLCG.
|
inline |
|
inline |
void resetSeed | ( | void | ) |
|
pure virtual |
Implemented in RandomR250, and RandomLCG.
|
protected |