예제 #1
0
 void _firstTimer_Completed(object sender, object e)
 {
     if (Duration-- >= 0)
     {
         //UnitGenerator.AddBufDemageOne(_oldCall, _bullet, _bullet.DemageMagic);
         if (UnitGenerator.AddStuneOne(_oldCall, _bullet, _bullet.StunDuration, _bullet.StunDuration))
         {
             StopMine();
         }
         else
         {
             _firstTimer.Begin();
         }
     }
     else
     {
         BoomMethod(_bullet.PositionX, _bullet.PositionY);
         StopMine();
     }
 }