Exemple #1
0
 public void setPlayerRoute(Vector2D end)
 {
     if (Hero == null)
     {
         return;
     }
     Hero.Path = new Route(GraphUtil.AStar(Graph, Hero.Pos, end, GraphUtil.Manhatten).ToList());
 }