protected virtual void OnRoundStarting(int counter) { RoundStarting?.Invoke(this, new RoundStartEventArgs() { Counter = counter }); }
private void OnRoundStarting() => RoundStarting?.Invoke(this, EventArgs.Empty);
protected virtual void OnRoundStarting(object sender, DndGameEventArgs ea) { RoundStarting?.Invoke(sender, ea); }
/// <summary> /// Notify all listeners that the current game round is starting /// </summary> private void PublishRoundStarting() { RoundStarting?.Invoke(_gameMap, _gameMap.CurrentRound); }