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