aboutsummaryrefslogtreecommitdiff
path: root/PathfindingContext.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-25 14:34:40 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-25 14:34:40 +0200
commitc9f5ac8722190efeb58fda1eec9e6160d5204127 (patch)
treeda9015f230d96d7abf30060de5099664c2189809 /PathfindingContext.h
parent8cf389aaf748c77aecda0b3a3773c45053b0f231 (diff)
update class-diag.puml
Diffstat (limited to 'PathfindingContext.h')
-rw-r--r--PathfindingContext.h7
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();