Exemplo n.º 1
0
 internal void OnDeath(BehaviorEventArgs e)
 {
     if (Death != null)
         Death(this, e);
     if (Parent != null)
         Parent.OnDeath(e);
 }
Exemplo n.º 2
0
 internal void OnDeath(BehaviorEventArgs e)
 {
     if (Death != null)
     {
         Death(this, e);
     }
     if (Parent != null)
     {
         Parent.OnDeath(e);
     }
 }
Exemplo n.º 3
0
 internal void OnDeath(BehaviorEventArgs e)
 {
     Death?.Invoke(this, e);
     Parent?.OnDeath(e);
 }