#include <SCA_RandomNumberGenerator.h>
Public Methods | |
| SCA_RandomNumberGenerator (long seed) | |
| ~SCA_RandomNumberGenerator () | |
| unsigned long | Draw () |
| This is the important part: copied verbatim :). More... | |
| float | DrawFloat () |
| long | GetSeed () |
| void | SetSeed (long newseed) |
Each generator needs its own generator, so that the seed can be set on a per-generator basis.
Version:
Definition at line 13 of file SCA_RandomNumberGenerator.h.
|
|
Definition at line 55 of file SCA_RandomNumberGenerator.cpp. |
|
|
Definition at line 61 of file SCA_RandomNumberGenerator.cpp. |
|
|
This is the important part: copied verbatim :).
Definition at line 85 of file SCA_RandomNumberGenerator.cpp. Referenced by DrawFloat(), SCA_RandomSensor::Evaluate(), and SCA_RandomActuator::Update(). |
|
|
Definition at line 121 of file SCA_RandomNumberGenerator.cpp. Referenced by SCA_RandomActuator::Update(). |
|
|
Definition at line 75 of file SCA_RandomNumberGenerator.cpp. |
|
|
Definition at line 76 of file SCA_RandomNumberGenerator.cpp. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000