aboutsummaryrefslogtreecommitdiff
path: root/CPP/Common/Random.h
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Common/Random.h')
-rw-r--r--CPP/Common/Random.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/CPP/Common/Random.h b/CPP/Common/Random.h
new file mode 100644
index 0000000..e784e98
--- /dev/null
+++ b/CPP/Common/Random.h
@@ -0,0 +1,14 @@
1// Common/Random.h
2
3#ifndef __COMMON_RANDOM_H
4#define __COMMON_RANDOM_H
5
6class CRandom
7{
8public:
9 void Init();
10 void Init(unsigned int seed);
11 int Generate() const;
12};
13
14#endif