Add pathfinding interfaces, still heavily wip

This commit is contained in:
KimLS
2017-07-18 00:01:59 -07:00
parent 596e3b28b5
commit 5f1063acb9
26 changed files with 705 additions and 1181 deletions
+18
View File
@@ -0,0 +1,18 @@
#pragma once
#include "map.h"
#include <list>
class IPathfinder
{
public:
typedef std::list<glm::vec3> IPath;
IPathfinder() { }
virtual ~IPathfinder() { }
virtual IPath FindRoute(const glm::vec3 &start, const glm::vec3 &end) = 0;
virtual glm::vec3 GetRandomLocation() = 0;
static IPathfinder *Load(const std::string &zone);
};