Exemplo n.º 1
0
 public override void Dead()
 {
     base.Dead();
     if (shake != null)
     {
         shake.Stop();
     }
     if (delayCall != null)
     {
         delayCall.Stop();
     }
 }
Exemplo n.º 2
0
 public override void Dead()
 {
     base.Dead();
     isDead = true;
     DestoryGroup(false);
     StopShake();
     SetState(PieceState.Normal);
     ClearChildren();
     if (delayCall != null)
     {
         delayCall.Stop();
         delayCall = null;
     }
 }