Ejemplo n.º 1
0
 protected virtual void OnPlayerFinishEvent(PlayerFinishEvent e)
 {
     if (PlayerFinishEvent != null) PlayerFinishEvent.Invoke(this, e);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// PlayerFinish Event
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="playerFinishEventArgs"></param>
 private void OnPlayerFinishEvent(object sender, PlayerFinishEvent playerFinishEventArgs)
 {
     this.PauseStopwatch();
     this.ShowInformationOverlay("You finished this Game in " + playerFinishEventArgs.Duration / 1000 + " seconds.");
 }