Class NeighborStrategies
java.lang.Object
de.bsommerfeld.pathetic.api.pathing.NeighborStrategies
This class serves as a util class in order to access Pathetic's predefined
INeighborStrategys.
To create your own please see the INeighborStrategy interface linked above.
This util class consists of two implementations:
VERTICAL_AND_HORIZONTAL which consists of adjacent nodes (up, down, left, right,
forward, backward)
DIAGONAL_3D which consists of all 26 surrounding nodes in a 3x3x3 cube.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final INeighborStrategyChecks all 26 surrounding nodes in a 3x3x3 cube.static final INeighborStrategyJust checks adjacent nodes (up, down, left, right, forward, back). -
Method Summary
-
Field Details
-
VERTICAL_AND_HORIZONTAL
Just checks adjacent nodes (up, down, left, right, forward, back). -
DIAGONAL_3D
Checks all 26 surrounding nodes in a 3x3x3 cube.
-