aboutsummaryrefslogtreecommitdiff
path: root/BreadthFirstPathfinder.h
blob: c8b9fe59f7127bfbe8371323502a28acf151cba1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <vector>

#include "Pathfinder.h"

class BreadthFirstPathfinder : public Pathfinder {
	using Pathfinder::Pathfinder;

public:
	virtual void find_between(const XY &, const XY &);

private:
	XY end;

	std::vector<Path> find_step(const std::vector<Path> &);
};