diff options
Diffstat (limited to '')
| -rw-r--r-- | src/stable/randomsystem.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/stable/randomsystem.h b/src/stable/randomsystem.h index 7106d58..63b40f3 100644 --- a/src/stable/randomsystem.h +++ b/src/stable/randomsystem.h | |||
| @@ -11,27 +11,27 @@ | |||
| 11 | 11 | ||
| 12 | namespace Bu | 12 | namespace Bu |
| 13 | { | 13 | { |
| 14 | class File; | 14 | class File; |
| 15 | class RandomSystem : public RandomBase | 15 | class RandomSystem : public RandomBase |
| 16 | { | 16 | { |
| 17 | public: | 17 | public: |
| 18 | enum Type | 18 | enum Type |
| 19 | { | 19 | { |
| 20 | Fast, | 20 | Fast, |
| 21 | Good | 21 | Good |
| 22 | }; | 22 | }; |
| 23 | 23 | ||
| 24 | RandomSystem( Type eType=Fast ); | 24 | RandomSystem( Type eType=Fast ); |
| 25 | virtual ~RandomSystem(); | 25 | virtual ~RandomSystem(); |
| 26 | 26 | ||
| 27 | virtual void seed( int32_t iSeed ); | 27 | virtual void seed( int32_t iSeed ); |
| 28 | 28 | ||
| 29 | virtual int32_t rand(); | 29 | virtual int32_t rand(); |
| 30 | 30 | ||
| 31 | private: | 31 | private: |
| 32 | Type eType; | 32 | Type eType; |
| 33 | File *pSrc; | 33 | File *pSrc; |
| 34 | }; | 34 | }; |
| 35 | }; | 35 | }; |
| 36 | 36 | ||
| 37 | #endif | 37 | #endif |
