Ejemplo n.º 1
0
 /// <summary>
 /// Checks whether the automation was toggled
 /// </summary>
 private static void checkToggle()
 {
     if (KeybaordIO.isEnterPressed())
     {
         HillManager.toggleAutomation();
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Checks whether the automation is active
 /// </summary>
 /// <returns> If the automation is active </returns>
 private static bool isAutomationActivate()
 {
     return((HillManager._toggle) && (!KeybaordIO.isKeyPressed()));
 }