Files
esengine/packages/pathfinding/src/core/index.ts

31 lines
592 B
TypeScript
Raw Normal View History

/**
* @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';