mirror of
https://github.com/thunderbrewhq/typhoon.git
synced 2026-05-09 16:23:52 +00:00
21 lines
373 B
C++
21 lines
373 B
C++
|
|
#ifndef TEMPEST_RANDOM_C_RND_SEED_HPP
|
||
|
|
#define TEMPEST_RANDOM_C_RND_SEED_HPP
|
||
|
|
|
||
|
|
#include <cstdint>
|
||
|
|
|
||
|
|
class CRndSeed {
|
||
|
|
friend class CRandom;
|
||
|
|
|
||
|
|
public:
|
||
|
|
// Public member functions
|
||
|
|
CRndSeed(uint32_t seed);
|
||
|
|
void SetSeed(uint32_t seed);
|
||
|
|
|
||
|
|
protected:
|
||
|
|
// Protected member variables
|
||
|
|
uint32_t rndacc;
|
||
|
|
uint32_t rndvls;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif
|