示例#1
0
        void Méthode2()
        {
            Pathfinding path3 = new Pathfinding(Game, Grille);
              path3.Initialize();
              Requête = new RequêtePathManager(path3);
              Requête.Initialize();
              path3 = new Pathfinding(Grille, Requête);
              Requête = new RequêtePathManager(path3);
              Requête.Initialize();
              Action<Vector3[], bool> lol = new Action<Vector3[], bool>(OnPathFound);
              //Requête.PathRequête(Position, PositionAvatarPlusProche, lol);//OnPathFound(Path, false));

              RequêtePathManager.PathRequête(Position, PositionAvatarPlusProche, OnPathFound);
        }
示例#2
0
 void Méthode1()
 {
     path2 = new Pathfinding(Game, Grille);
       path2.Initialize();
 }