Esempio n. 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);
        }
Esempio n. 2
0
 public Pathfinding(Grid grille, RequêtePathManager requêtePathManager)
 {
     Grille = grille;
     RequêtePathManager = requêtePathManager;
 }