示例#1
0
 protected virtual void OnPlayerFinishEvent(PlayerFinishEvent e)
 {
     if (PlayerFinishEvent != null) PlayerFinishEvent.Invoke(this, e);
 }
示例#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.");
 }