protected virtual void OnGameResetEvent(GameResetEventArgs e) { if (GameResetEvent != null) GameResetEvent.Invoke(this, e); }
/// <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.."); }