aboutsummaryrefslogtreecommitdiff
path: root/PathfindingContext.h
blob: 19fd93d2a4dab73cd08e92a953571e63f43e015d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once

#include "XY.h"

class Museum;

class PathfindingContext {
public:
	PathfindingContext(Museum &);

public:
	void set_start(const XY & point);
	const XY & get_start() { return this->start_point; }
	void set_end(const XY & point);
	const XY & get_end() { return this->end_point; }
	bool valid_point(const XY & point);

private:
	XY start_point = { -1, -1 };
	XY end_point = { -1, -1 };

private:
	Museum & museum;
};