public override void Notify(Character info) { Victim = info; if (_enemyHitCounts.ContainsKey(info)) { _enemyHitCounts[info] += 1; } else { _enemyHitCounts.Add(info, 1); } Observers?.Invoke(this); }
public override void Notify() { Observers.Invoke(State); }
public void Notify(object eventData) { Observers?.Invoke(this, eventData); }
public override void Notify(Character info) { Observers?.Invoke(this); }
protected void Notify(Data data) { Observers?.Invoke(data); }