31 lines
592 B
TypeScript
31 lines
592 B
TypeScript
|
|
/**
|
||
|
|
* @zh 寻路核心模块
|
||
|
|
* @en Pathfinding Core Module
|
||
|
|
*/
|
||
|
|
|
||
|
|
export type {
|
||
|
|
IPoint,
|
||
|
|
IPathNode,
|
||
|
|
IPathResult,
|
||
|
|
IPathfindingMap,
|
||
|
|
IPathfinder,
|
||
|
|
IPathSmoother,
|
||
|
|
IPathfindingOptions,
|
||
|
|
HeuristicFunction,
|
||
|
|
LineOfSightCheck
|
||
|
|
} from './IPathfinding';
|
||
|
|
|
||
|
|
export {
|
||
|
|
createPoint,
|
||
|
|
EMPTY_PATH_RESULT,
|
||
|
|
DEFAULT_PATHFINDING_OPTIONS,
|
||
|
|
manhattanDistance,
|
||
|
|
euclideanDistance,
|
||
|
|
chebyshevDistance,
|
||
|
|
octileDistance
|
||
|
|
} from './IPathfinding';
|
||
|
|
|
||
|
|
export { BinaryHeap } from './BinaryHeap';
|
||
|
|
|
||
|
|
export { AStarPathfinder, createAStarPathfinder } from './AStarPathfinder';
|