Class PathValidationContext
java.lang.Object
de.metaphoriker.pathetic.api.pathing.filter.PathValidationContext
PathValidationContext is a data container used during the pathfinding process to provide relevant
contextual information needed for evaluating path validity.
-
Constructor Summary
ConstructorsConstructorDescriptionPathValidationContext
(PathPosition position, PathPosition parent, PathPosition absoluteStart, PathPosition absoluteTarget, NavigationPointProvider navigationPointProvider) -
Method Summary
Modifier and TypeMethodDescriptionboolean
The absolute start position of the pathfinding process.The absolute target position of the pathfinding process.The NavigationPointProvider provides access to world data, such as positional information, in the context of the pathfinding process.The parent position of the current position.The current position being evaluated in the pathfinding process.int
hashCode()
toString()
-
Constructor Details
-
Method Details
-
getPosition
The current position being evaluated in the pathfinding process. This represents the position that is being validated by the filter to determine if it can be part of a valid path. -
getParent
The parent position of the current position. This is the previous node from which the current position was reached. It is used to trace the path and ensure logical continuity between nodes. -
getAbsoluteStart
The absolute start position of the pathfinding process. This represents the original starting point of the path and remains constant throughout the algorithm, providing a stable reference. -
getAbsoluteTarget
The absolute target position of the pathfinding process. This is the final goal or destination that the pathfinding algorithm is trying to reach. Like the start, it remains constant and provides a clear end-point for the path. -
equals
-
hashCode
public int hashCode() -
toString
-