aboutsummaryrefslogtreecommitdiff
path: root/BreadthFirstPathfinder.h
diff options
context:
space:
mode:
Diffstat (limited to 'BreadthFirstPathfinder.h')
-rw-r--r--BreadthFirstPathfinder.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/BreadthFirstPathfinder.h b/BreadthFirstPathfinder.h
index ba05f70..0c73c69 100644
--- a/BreadthFirstPathfinder.h
+++ b/BreadthFirstPathfinder.h
@@ -1,9 +1,9 @@
#pragma once
-#include "Pathfinder.h"
-
#include <vector>
+#include "Pathfinder.h"
+
class BreadthFirstPathfinder : public Pathfinder {
using Pathfinder::Pathfinder;
@@ -12,11 +12,11 @@ public:
virtual const Path & get_path();
private:
- std::vector<Path> find_step(const std::vector<Path> &);
Path solution;
-
XY end;
+ std::vector<Path> find_step(const std::vector<Path> &);
+
protected:
virtual void clear();