protected virtual void OnPlayerLostEvent(PlayerLostEventArgs e) { if (PlayerLostEvent != null) PlayerLostEvent.Invoke(this, e); }
/// <summary> /// PlayerLost Event /// </summary> /// <param name="sender"></param> /// <param name="playerLostEventArgs"></param> private void ControllerOnPlayerLostEvent(object sender, PlayerLostEventArgs playerLostEventArgs) { this.ShowInformationOverlay("Please wait... lost the connection to your Control Unit.", true); this.PauseStopwatch(); }