Interface PathPoint
- All Known Implementing Classes:
VectorNode
public interface PathPoint
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCallback
(PathPoint.PathCallback callback) Adds a path callback that will be executed if this path point is executed.createAtOffset
(Vector vector) Returns a new PathPoint at a given Vector.getGoal()
Gets the destination VectorGets the parent PathPointGets the list of manual path vectorsGets the vector represented by this pointvoid
setPathVectors
(List<Vector> vectors) Sets the path vectors that will be used at pathfinding time.void
Sets the vector location of this point
-
Method Details
-
addCallback
Adds a path callback that will be executed if this path point is executed. -
createAtOffset
Returns a new PathPoint at a given Vector. -
getGoal
Vector getGoal()Gets the destination Vector -
getParentPoint
PathPoint getParentPoint()Gets the parent PathPoint -
getPathVectors
Gets the list of manual path vectors- See Also:
-
getVector
Vector getVector()Gets the vector represented by this point -
setPathVectors
Sets the path vectors that will be used at pathfinding time. For example, setting a list of vectors to path through in order to reach this pathpoint. -
setVector
Sets the vector location of this point
-