Beispiel #1
0
 /// <summary>
 /// Runs the given hill's automation
 /// </summary>
 /// <param name="hill"> A hill </param>
 private static void runAutomation(Hill hill)
 {
     while (HillManager.isAutomationActivate())
     {
         hill.cycle();
         Thread.Sleep(HillManager.WAIT_TIME_IN_MILISECONDS);
     }
 }