(from: IPathNode, to: IPathNode)
| 324 | } |
| 325 | |
| 326 | getMovementCost(from: IPathNode, to: IPathNode): number { |
| 327 | return euclideanDistance(from.position, to.position); |
| 328 | } |
| 329 | |
| 330 | isWalkable(x: number, y: number): boolean { |
| 331 | return this.findPolygonAt(x, y) !== null; |
nothing calls this directly
no test coverage detected