about summary refs log tree commit diff stats
path: root/Source/Randomizer2.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Randomizer2.h')
-rw-r--r--Source/Randomizer2.h6
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
5class Memory; 4class Puzzle;
6class Randomizer2 { 5class Randomizer2 {
7public: 6public:
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};