aboutsummaryrefslogtreecommitdiff
path: root/DijkstraPathfinder.cpp
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 /DijkstraPathfinder.cpp
parent8cf389aaf748c77aecda0b3a3773c45053b0f231 (diff)
update class-diag.puml
Diffstat (limited to 'DijkstraPathfinder.cpp')
-rw-r--r--DijkstraPathfinder.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/DijkstraPathfinder.cpp b/DijkstraPathfinder.cpp
index d920fc9..e8f0132 100644
--- a/DijkstraPathfinder.cpp
+++ b/DijkstraPathfinder.cpp
@@ -5,6 +5,11 @@
using namespace std;
+struct Neighbor {
+ unsigned int distance = -1;
+ XY position;
+};
+
void DijkstraPathfinder::clear() {
Pathfinder::clear();
this->map.clear();