back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/puzzle.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'puzzle.hpp')
-rw-r--r--puzzle.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/puzzle.hpp b/puzzle.hpp
index 9370763..e44efd4 100644
--- a/puzzle.hpp
+++ b/puzzle.hpp
@@ -38,14 +38,15 @@ private:
coordinates empty_box;
std::vector<std::unique_ptr<Puzzle>> puzzles;
Fl_Window *win;
+ std::string cur_directory;
GameParams(Fl_Window *a_win = nullptr) : win(a_win) {}
-
void CalculateStandardPuzzlePos();
void ResetFreePuzzles();
void NextUntestedPuzzles();
bool IsSolvability();
void CreateNewPuzzles();
+ void SelectRandomPicture();
friend class PuzzleGame;
friend class ASearch;