public void RaiseDiedEvent() { // TODO: stop all orders this.Weapon.IsActive = false; Corpse(); AnyDiedEvent?.Invoke(this); DiedEvent?.Invoke(this); }
internal void InvokeDiedEvent(DiedEvent arg) => DiedEvent?.Invoke(null, arg);
internal void InvokeDiedEvent(DiedEvent arg) { DiedEvent?.Invoke(this, arg); }
void Corpse() { DiedEvent?.Invoke(); }