From 92084d06a5c87338cc988b5bc5868e617213e6b9 Mon Sep 17 00:00:00 2001 From: jbzdarkid Date: Sun, 24 Nov 2019 12:28:53 -0800 Subject: Try/catch, and select seed --- Source/Randomizer2.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Source/Randomizer2.h') 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 @@ #pragma once -#include #include "PuzzleSerializer.h" -class Memory; +class Puzzle; class Randomizer2 { public: - Randomizer2(const std::shared_ptr& memory); + Randomizer2(const PuzzleSerializer& serializer); void Randomize(); void RandomizeTutorial(); void RandomizeSymmetry(); @@ -16,6 +15,5 @@ private: void SetGate(int panel, int X, int Y); void SetPos(int panel, float x, float y, float z); - std::shared_ptr _memory; PuzzleSerializer _serializer; }; -- cgit 1.4.1