summary refs log tree commit diff stats
path: root/Source/ChallengeRandomizer.h
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2018-11-18 14:34:34 -0800
committerjbzdarkid <jbzdarkid@gmail.com>2018-11-18 14:34:34 -0800
commitc10b73f30280e5dd758b77e2ef8e5a622ff3c876 (patch)
tree516924b39c353354d72a7020b1c3643a7f35f0b0 /Source/ChallengeRandomizer.h
parent145bfe30527ca604be7100f4515290152c8bc55b (diff)
downloadwitness-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.h12
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
5class ChallengeRandomizer {
6public:
7 ChallengeRandomizer(const std::shared_ptr<Memory>& memory, int seed);
8
9private:
10 void AdjustRng(int offset);
11 std::shared_ptr<Memory> _memory;
12};