예제 #1
0
 protected virtual void OnGameResetEvent(GameResetEventArgs e)
 {
     if (GameResetEvent != null) GameResetEvent.Invoke(this, e);
 }
예제 #2
0
 /// <summary>
 /// Game Reset Event
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="gameResetEventArgs"></param>
 private void ControllerOnGameResetEvent(object sender, GameResetEventArgs gameResetEventArgs)
 {
     this.HideInformationOverlay();
     this.ResetStopwatch();
     this.ResetGame();
     this.ShowInformationOverlay("Game is Over! Wait for new Games..");
 }