25#include "navigation_path.h"
43 const Vector& preferredDir,
50 virtual void Clear()
override;
Definition actorpath.h:34
Definition navigation_path.h:43
Legacy navigation system.
Definition navigation_legacy_path.h:35
virtual void FindPathNear(const Vector &start, const Vector &end, float radius, const PathSearchParameter ¶meters) override
Find and set the path from start to end with the specified goal radius.
Definition navigation_legacy_path.cpp:39
virtual void FindPathAway(const Vector &start, const Vector &avoid, const Vector &preferredDir, float radius, const PathSearchParameter ¶meters) override
Find and set the path away from the specified origin.
Definition navigation_legacy_path.cpp:47
virtual void Clear() override
Clear the path.
Definition navigation_legacy_path.cpp:77
virtual void UpdatePos(const Vector &origin) override
Update path movement.
Definition navigation_legacy_path.cpp:72
virtual bool HasReachedGoal(const Vector &origin) const override
Return true if the origin is at the end of the goal.
Definition navigation_legacy_path.cpp:143
virtual void FindPath(const Vector &start, const Vector &end, const PathSearchParameter ¶meters) override
Find and set the path from start to end.
Definition navigation_legacy_path.cpp:33
virtual Vector GetDestination() const override
Return the final destination.
Definition navigation_legacy_path.cpp:134
virtual bool TestPath(const Vector &start, const Vector &end, const PathSearchParameter ¶meters) override
Returns true if the path exists, false otherwise.
Definition navigation_legacy_path.cpp:67
virtual int GetNodeCount() const override
Return the number of nodes.
Definition navigation_legacy_path.cpp:113
virtual bool IsQuerying() const override
Return true if the path is currently being calculated.
Definition navigation_legacy_path.cpp:148
virtual Vector GetCurrentDelta() const override
Return the current move delta.
Definition navigation_legacy_path.cpp:122
virtual Vector GetCurrentDirection() const override
Return the directional vector towards the path.
Definition navigation_legacy_path.cpp:128
virtual PathNav GetNode(unsigned int index) const override
Return the node at the specified index (0 = first node, and nodecount - 1 = last node).
Definition navigation_legacy_path.cpp:83
Definition navigation_path.h:29
Definition navigation_path.h:35