Пример #1
0
 private void CheckFitness()
 {
     foreach (GameObject car in cars)
     {
         if (carExecutors[car].CurrentIndividual != null)
         {
             carExecutors[car].CurrentIndividual.Fitness = fitness.DetermineFitness(carStates[car]);
         }
     }
 }