Exemplo n.º 1
0
 public bool UpdateTimeLeft(float delta)
 {
     timeLeft -= delta * (1 / StatusUtils.GetDuration(statusType));
     if (timeLeft < 0)
     {
         return(false);
     }
     else
     {
         return(true);
     }
 }