IsDesiredCounter() public method

public IsDesiredCounter ( string id ) : bool
id string
return bool
Exemplo n.º 1
0
 private void OnBang(object sender, BangEventArgs e)
 {
     if (e.IsDesiredCounter(_cInvulnerable))
     {
         _invulnerableAfterHit = false;
     }
 }
Exemplo n.º 2
0
 private void OnStep(object sender, BangEventArgs e)
 {
     if (e.IsDesiredCounter(_cUpdater))
     {
         if(_owner.BoundingRect.Intersects(_collider.BoundingRect))
             Owner.CM.StartCounter(_cUpdater, true, false);
     }
 }
Exemplo n.º 3
0
 private void OnBang(object sender, BangEventArgs e)
 {
     if (e.IsDesiredCounter(_cUpdater))
     {
         _locked = false;
         _collider = null;
     }
 }
Exemplo n.º 4
0
        private void OnBang(object sender, BangEventArgs e)
        {
            if (e.IsDesiredCounter(_cShutdown))
            {
                OnCooldown = false;

            }
        }