Exemplo n.º 1
0
 public void RaiseDiedEvent()
 {
     // TODO: stop all orders
     this.Weapon.IsActive = false;
     Corpse();
     AnyDiedEvent?.Invoke(this);
     DiedEvent?.Invoke(this);
 }
Exemplo n.º 2
0
 internal void InvokeDiedEvent(DiedEvent arg) => DiedEvent?.Invoke(null, arg);
Exemplo n.º 3
0
 internal void InvokeDiedEvent(DiedEvent arg)
 {
     DiedEvent?.Invoke(this, arg);
 }
Exemplo n.º 4
0
 void Corpse()
 {
     DiedEvent?.Invoke();
 }