Exemplo n.º 1
0
 /// <summary>Recieves all the necessary inputs (keyboard, gamepad and mouse).</summary>
 /// <param name="key">The input sent.</param>
 /// <returns>void</returns>
 public override void noticeInput(EnumInput key)
 {
     if (loaded)
     {
         if (key == EnumInput.TAB)
         {
             connectionMenu.switchUiSelect();
         }
         else if (key == EnumInput.RETURN)
         {
             connectionMenu.onConnectionStartClick();
         }
     }
 }