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