protected virtual void OnGameEnd(EventArgs e) { if (GameEnd != null) { GameEnd.Invoke(this, e); } }
private void EndOfGame() { GameEnd?.Invoke(this, new GameScoreEventArgs(_gameScore)); }