public PathFindingNode(int id,float cost,float ecost) { ID = id; costSoFar = cost; estimatedTotalCost = ecost; connection = null; }
public PathFindingNode(int id) { ID = id; connection = null; costSoFar = 0; estimatedTotalCost = 0; }