Exemplo n.º 1
0
 public void Notify(IObservableUnit sender, UnitObservingState state)
 {
     Console.WriteLine($"Unfortunately, {sender} is dead ({state.HealthBefore} => {state.HealthAfter})");
 }
Exemplo n.º 2
0
 public void Notify(IObservableUnit sender, UnitObservingState state)
 {
     Console.Beep();
 }