Пример #1
0
 protected virtual void OnNoShield(NoShieldEventArgs e)
 {
     if (NoShield != null)
     {
         NoShield(this, e);
     }
 }
Пример #2
0
        private NoShieldEventArgs OnNoShieldForOut()
        {
            NoShieldEventArgs args = new NoShieldEventArgs();

            OnNoShield(args);

            return(args);
        }
Пример #3
0
        private NoShieldEventArgs OnNoShield(int damage, int hp)
        {
            NoShieldEventArgs args = new NoShieldEventArgs(damage, hp);

            OnNoShield(args);

            return(args);
        }