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