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