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.h4
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
4class Memory; 5class Memory;
5class Randomizer2 { 6class Randomizer2 {
6public: 7public:
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
11private: 13private:
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};