diff options
Diffstat (limited to 'Source/Randomizer2.h')
-rw-r--r-- | Source/Randomizer2.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Randomizer2.h b/Source/Randomizer2.h index 47a9ebd..c8c3db5 100644 --- a/Source/Randomizer2.h +++ b/Source/Randomizer2.h | |||
@@ -1,11 +1,10 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | #include <memory> | ||
3 | #include "PuzzleSerializer.h" | 2 | #include "PuzzleSerializer.h" |
4 | 3 | ||
5 | class Memory; | 4 | class Puzzle; |
6 | class Randomizer2 { | 5 | class Randomizer2 { |
7 | public: | 6 | public: |
8 | Randomizer2(const std::shared_ptr<Memory>& memory); | 7 | Randomizer2(const PuzzleSerializer& serializer); |
9 | void Randomize(); | 8 | void Randomize(); |
10 | void RandomizeTutorial(); | 9 | void RandomizeTutorial(); |
11 | void RandomizeSymmetry(); | 10 | void RandomizeSymmetry(); |
@@ -16,6 +15,5 @@ private: | |||
16 | void SetGate(int panel, int X, int Y); | 15 | void SetGate(int panel, int X, int Y); |
17 | void SetPos(int panel, float x, float y, float z); | 16 | void SetPos(int panel, float x, float y, float z); |
18 | 17 | ||
19 | std::shared_ptr<Memory> _memory; | ||
20 | PuzzleSerializer _serializer; | 18 | PuzzleSerializer _serializer; |
21 | }; | 19 | }; |