#pragma once #include #include "Pathfinder.h" class BreadthFirstPathfinder : public Pathfinder { using Pathfinder::Pathfinder; public: virtual void find_between(const XY &, const XY &); virtual const Path & get_path(); private: Path solution; XY end; std::vector find_step(const std::vector &); protected: virtual void clear(); };