mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 02:11:30 +00:00
23 lines
435 B
C++
23 lines
435 B
C++
#pragma once
|
|
|
|
#include "map.h"
|
|
#include <list>
|
|
|
|
class Client;
|
|
class Seperator;
|
|
|
|
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;
|
|
virtual void DebugCommand(Client *c, const Seperator *sep) = 0;
|
|
|
|
static IPathfinder *Load(const std::string &zone);
|
|
};
|