Exemplo n.º 1
0
 void RunJob(AStar <int> astar, TestMapInt map, int start, int end, NativeList <int> path)
 {
     new FindPathJob
     {
         AStar = astar,
         Map   = map,
         Start = start,
         End   = end,
         Path  = path
     }.Run();
 }
Exemplo n.º 2
0
 public PathJob GetJob(TestMapInt map, int start, int end, NativeList <int> path)
 {
     return(new PathJob
     {
         AStar = this,
         Map = map,
         Path = path,
         Start = start,
         End = end
     });
 }