protected void OnBackPressed(object source, InputStateEventArgs args) { if ((args.PlayerIndex == PlayerControllerIndex.Keyboard || args.PlayerIndex == PlayerControllerIndex.One) && args.Button == InputKeys.Back) { server.GoToScoresScreen(); } }
public static void RaiseReleasedEvent(object source, InputStateEventArgs args) { Released?.Invoke(source, args); }