public PathFinder(RouteInformation informations) { levelSize = MapLoader.LevelDimensions; this.informations = informations; initializeMap(); startNode = Map[informations.StartLocationIndex.I, informations.StartLocationIndex.J]; startNode.State = NodeState.Open; endNode = Map[informations.EndLocationIndex.I, informations.EndLocationIndex.J]; }
public PathFinder(RouteInformation informations) { levelSize = MapLoader.LevelDimensions; this.informations = informations; initializeMap(); startNode = Map[informations.StartLocationIndex.I, informations.StartLocationIndex.J]; startNode.State = NodeState.Open; endNode = Map[informations.EndLocationIndex.I, informations.EndLocationIndex.J]; }