Expand PathNode
This commit is contained in:
@ -10,9 +10,10 @@ public class Pathfinder
|
||||
{
|
||||
RegionManager regionManager = new RegionManager(workingDir);
|
||||
Region startRegion = regionManager.GetRegion(start)!; //TODO null handling
|
||||
Node startNode = ClosestNodeToCoordinates(start, startRegion)!; //TODO null handling
|
||||
PathNode startNode = (PathNode)ClosestNodeToCoordinates(start, startRegion)!; //TODO null handling
|
||||
Region goalRegion = regionManager.GetRegion(goal)!; //TODO null handling
|
||||
Node goalNode = ClosestNodeToCoordinates(goal, goalRegion)!; //TODO null handling
|
||||
PathNode goalNode = (PathNode)ClosestNodeToCoordinates(goal, goalRegion)!; //TODO null handling
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user