diff options
author | jbzdarkid <jbzdarkid@gmail.com> | 2018-11-18 14:34:34 -0800 |
---|---|---|
committer | jbzdarkid <jbzdarkid@gmail.com> | 2018-11-18 14:34:34 -0800 |
commit | c10b73f30280e5dd758b77e2ef8e5a622ff3c876 (patch) | |
tree | 516924b39c353354d72a7020b1c3643a7f35f0b0 /Source/ChallengeRandomizer.h | |
parent | 145bfe30527ca604be7100f4515290152c8bc55b (diff) | |
download | witness-tutorializer-c10b73f30280e5dd758b77e2ef8e5a622ff3c876.tar.gz witness-tutorializer-c10b73f30280e5dd758b77e2ef8e5a622ff3c876.tar.bz2 witness-tutorializer-c10b73f30280e5dd758b77e2ef8e5a622ff3c876.zip |
Works, on old version
Diffstat (limited to 'Source/ChallengeRandomizer.h')
-rw-r--r-- | Source/ChallengeRandomizer.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/ChallengeRandomizer.h b/Source/ChallengeRandomizer.h new file mode 100644 index 0000000..267c5cb --- /dev/null +++ b/Source/ChallengeRandomizer.h | |||
@@ -0,0 +1,12 @@ | |||
1 | #pragma once | ||
2 | #include "Memory.h" | ||
3 | #include <memory> | ||
4 | |||
5 | class ChallengeRandomizer { | ||
6 | public: | ||
7 | ChallengeRandomizer(const std::shared_ptr<Memory>& memory, int seed); | ||
8 | |||
9 | private: | ||
10 | void AdjustRng(int offset); | ||
11 | std::shared_ptr<Memory> _memory; | ||
12 | }; | ||