예제 #1
0
 private bool lifeControl(long thisTime)
 {
     if (life <= 0)
     {
         game.Die(DeathType.Fire);
         return(false);
     }
     if (!isThisStateAlso(state, BallState.Burning))
     {
         lifeAnim = new LinearBoundedAnimator(life, thisTime, 0.1 / Constants.SecsToChill, 100, 0);
     }
     return(true);
 }