diff options
Diffstat (limited to 'PathfindingContext.h')
-rw-r--r-- | PathfindingContext.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/PathfindingContext.h b/PathfindingContext.h index c2c591c..aae02cd 100644 --- a/PathfindingContext.h +++ b/PathfindingContext.h @@ -14,6 +14,9 @@ public: PathfindingContext(Museum &); void update(); +private: + XY start_point = { -1, -1 }; + XY end_point = { -1, -1 }; public: void set_start(const XY & point); const XY & get_start() { return this->start_point; } @@ -28,10 +31,6 @@ public: private: std::unordered_map<std::string, unsigned int> weight_map; -private: - XY start_point = { -1, -1 }; - XY end_point = { -1, -1 }; - public: Pathfinder & get_solver(); void cycle_solver(); |