示例#1
0
 public void soeurAnne(MoteurGraphique moteurgraphique_, SystemeDeJeu gameplay_)
 {
     if (!IA)
     {
         if (moteurgraphique_.fog == e_brouillardDeGuerre.Normal)
             appliquerVues(moteurgraphique_);
         if (moteurgraphique_.fog == e_brouillardDeGuerre.ToutVisite)
             moteurgraphique_.viderVue();
         foreach (Unite item in bataillon)
         {
             if (item.pvactuel > 0)
             {
                 item.soeurAnne(moteurgraphique_, ref casesVisitees, gameplay_);
             }
         }
     }
 }
示例#2
0
 public void appliquerVues(MoteurGraphique moteurgraphique_)
 {
     moteurgraphique_.viderVue();
     for (int i = 0; i < moteurgraphique_.map.GetLength(0); i++)
     {
         for (int j = 0; j < moteurgraphique_.map.GetLength(1); j++)
         {
             moteurgraphique_.map[i, j].apercue = casesVisitees[i, j];
         }
     }
 }