summary refs log tree commit diff stats
path: root/Source/Randomizer2.h
blob: a2b5ebdd927c42e703cbca5a078b4e79219e4dd5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once
#include "PuzzleSerializer.h"

class Randomizer2 {
public:
    Randomizer2(const PuzzleSerializer& serializer);
    void Randomize();
    void RandomizeTutorial();
    void RandomizeGlassFactory();
    void RandomizeSymmetryIsland();
    void RandomizeKeep();
    
private:
    Puzzle GetUniqueSolution(Puzzle& p);
    void SetGate(int panel, int X, int Y);
    void SetPos(int panel, float x, float y, float z);

    PuzzleSerializer _serializer;
};