Esempio n. 1
0
 public static List <Vector2f> Find(AStarFindHeuristic heuristic,
                                    Field2D maps, Vector2f start, Vector2f goal, bool flag)
 {
     return(Find(heuristic, maps.GetMap(), maps.GetLimit(), start.X(),
                 start.Y(), goal.X(), goal.Y(), flag));
 }
Esempio n. 2
0
 public static List <Vector2f> Find(AStarFindHeuristic heuristic,
                                    Field2D maps, int x1, int y1, int x2, int y2, bool flag)
 {
     return(Find(heuristic, maps.GetMap(), maps.GetLimit(), x1, y1, x2, y2,
                 flag));
 }
Esempio n. 3
0
 public static List<Vector2f> Find(AStarFindHeuristic heuristic,
         Field2D maps, int x1, int y1, int x2, int y2, bool flag)
 {
     return Find(heuristic, maps.GetMap(), maps.GetLimit(), x1, y1, x2, y2,
             flag);
 }
Esempio n. 4
0
 public static List<Vector2f> Find(AStarFindHeuristic heuristic,
         Field2D maps, Vector2f start, Vector2f goal, bool flag)
 {
     return Find(heuristic, maps.GetMap(), maps.GetLimit(), start.X(),
             start.Y(), goal.X(), goal.Y(), flag);
 }
Esempio n. 5
0
 public int[] GetLimit()
 {
     return(field.GetLimit());
 }