AStar returns cell instead of path

This commit is contained in:
evanpelle
2024-12-03 14:35:09 -08:00
parent 330b6b93cb
commit 4edd66dc1f
12 changed files with 57 additions and 59 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { Cell, TerrainType, Tile } from "../game/Game";
export interface AStar {
compute(): PathFindResultType
reconstructPath(): SearchNode[]
reconstructPath(): Cell[]
}
export enum PathFindResultType {