public bool IsRecastable()
        {
            foreach (TimeCooldown timeCooldown in timeCooldowns)
            {
                if (timeCooldown.IsRecastable())
                {
                    return(true);
                }
            }

            if (timeCooldown != null)
            {
                if (timeCooldown.IsRecastable())
                {
                    return(true);
                }
            }

            return(false);
        }
예제 #2
0
 public override bool IsAvailable()
 {
     return(timeCooldown.IsComplete() || timeCooldown.IsRecastable());
 }