mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-16 06:35:17 +00:00
AStar returns cell instead of path
This commit is contained in:
@@ -2,7 +2,7 @@ import { Cell, TerrainType, Tile } from "../game/Game";
|
||||
|
||||
export interface AStar {
|
||||
compute(): PathFindResultType
|
||||
reconstructPath(): SearchNode[]
|
||||
reconstructPath(): Cell[]
|
||||
}
|
||||
|
||||
export enum PathFindResultType {
|
||||
|
||||
Reference in New Issue
Block a user