Package de.bsommerfeld.pathetic.api.pathing
package de.bsommerfeld.pathetic.api.pathing
Core pathfinding contracts.
Pathfinder is the entry point: it takes a start
and target PathPosition and returns a PathfindingSearch, the handle to the possibly asynchronous
operation (result access, completion callbacks, abort). INeighborStrategy defines the offset vectors used to expand
a node during the search; NeighborStrategies bundles
the cardinal and full-3D presets. PathfindingProgress carries the start, current, and target
positions of a search in flight.
-
ClassDescriptionA functional interface to provide an offset as a
Iterableconsisting ofPathVectors.This class serves as a util class in order to access Pathetic's predefinedINeighborStrategys.A Pathfinder is a class that can find a path between two positions while following a given set of rules.Immutable container for the three core positions in a pathfinding operation.Represents a pathfinding operation that can be configured with callbacks for different outcomes.