From c9f5ac8722190efeb58fda1eec9e6160d5204127 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 25 Oct 2024 14:34:40 +0200 Subject: update class-diag.puml --- DijkstraPathfinder.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'DijkstraPathfinder.cpp') 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(); -- cgit v1.2.3