UNPKG

grid-engine

Version:

Phaser3 plugin for grid based movement on a 2D game board.

8 lines (7 loc) 380 B
import { ShortestPathAlgorithm, ShortestPathResult } from "../ShortestPathAlgorithm.js"; import { LayerVecPos } from "../../Utils/LayerPositionUtils/LayerPositionUtils.js"; export declare class AStar extends ShortestPathAlgorithm { findShortestPathImpl(startPos: LayerVecPos, targetPos: LayerVecPos): ShortestPathResult; private shortestPathBfs; private returnPath; }