about summary refs log tree commit diff stats
path: root/Source/Puzzle.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Puzzle.h')
-rw-r--r--Source/Puzzle.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/Puzzle.h b/Source/Puzzle.h index ac604f1..8afb9ca 100644 --- a/Source/Puzzle.h +++ b/Source/Puzzle.h
@@ -74,7 +74,12 @@ public:
74 int width = 0; 74 int width = 0;
75 bool hasDecorations = false; 75 bool hasDecorations = false;
76 76
77 enum class Symmetry {NONE, X, Y, XY}; 77 enum Symmetry {
78 NONE = 0,
79 X = 1,
80 Y = 2,
81 XY = 3
82 };
78 Symmetry symmetry = Symmetry::NONE; 83 Symmetry symmetry = Symmetry::NONE;
79 bool pillar = false; 84 bool pillar = false;
80 85
@@ -87,9 +92,7 @@ public:
87 Cell GetCell(int x, int y) const; 92 Cell GetCell(int x, int y) const;
88 Cell::Color GetLine(int x, int y) const; 93 Cell::Color GetLine(int x, int y) const;
89 void NewGrid(int newWidth, int newHeight); 94 void NewGrid(int newWidth, int newHeight);
90 95 Pos GetSymmetricalPos(int x, int y) const;
91 // @TODO:
92 Pos GetSymmetricalPos(int x, int y);
93 96
94// private: 97// private:
95 std::vector<std::vector<Cell>> grid; 98 std::vector<std::vector<Cell>> grid;