예제 #1
0
 public GoalMapPathFinder(GoalMap goalMap)
 {
     _goalMap     = goalMap;
     _paths       = new List <List <Point> >();
     _currentPath = new Stack <Point>();
     _visited     = new HashSet <Point>();
 }
예제 #2
0
 public GoalMapPathFinder( GoalMap goalMap )
 {
     _goalMap = goalMap;
     _paths = new List<Path>();
     _currentPath = new Stack<Cell>();
     _visited = new HashSet<Cell>();
 }