25#include "../qcommon/vector.h"
26#include "../qcommon/container.h"
27#include "../qcommon/lightclass.h"
86 const Vector& preferredDir,
Definition navigation_path.h:43
virtual Vector GetCurrentDelta() const =0
Return the current move delta.
virtual bool IsQuerying() const =0
Return true if the path is currently being calculated.
virtual void FindPath(const Vector &start, const Vector &end, const PathSearchParameter ¶meters)=0
Find and set the path from start to end.
virtual void FindPathAway(const Vector &start, const Vector &avoid, const Vector &preferredDir, float radius, const PathSearchParameter ¶meters)=0
Find and set the path away from the specified origin.
virtual bool TestPath(const Vector &start, const Vector &end, const PathSearchParameter ¶meters)=0
Returns true if the path exists, false otherwise.
virtual bool HasReachedGoal(const Vector &origin) const =0
Return true if the origin is at the end of the goal.
virtual PathNav GetNode(unsigned int index=0) const =0
Return the node at the specified index (0 = first node, and nodecount - 1 = last node).
static IPather * CreatePather()
Create a new Pather object based on supported navigation features.
Definition navigation_path.cpp:35
virtual void UpdatePos(const Vector &origin)=0
Update path movement.
virtual void Clear()=0
Clear the path.
virtual void FindPathNear(const Vector &start, const Vector &end, float radius, const PathSearchParameter ¶meters)=0
Find and set the path from start to end with the specified goal radius.
virtual int GetNodeCount() const =0
Return the number of nodes.
virtual Vector GetDestination() const =0
Return the final destination.
virtual Vector GetCurrentDirection() const =0
Return the directional vector towards the path.
Definition lightclass.h:30
Definition navigation_path.h:29
Definition navigation_path.h:35