protected virtual void OnPlayerLeftEvent(PlayerLeftEventArgs e) { if (PlayerLeftEvent != null) PlayerLeftEvent.Invoke(this, e); }
/// <summary> /// PlayerLeft Event /// </summary> /// <param name="sender"></param> /// <param name="playerLeftEventArgs"></param> private void OnPlayerLeftEvent(object sender, PlayerLeftEventArgs playerLeftEventArgs) { this.ShowInformationOverlay("Please wait... lost the connection to your Robot.", true); this.PauseStopwatch(); }