CanTickDown bool on the base cooldown

This commit is contained in:
IbanPlay authored and Cameron Ewell committed 2022-03-09 00:02:13 -05:00
1 parent 542b7d5e52
commit fd8fbf2011
1 file changed
+7
@@ -60,5 +60,12 @@ namespace CalamityMod.UI.CooldownIndicators
/// Method used to determine the color of the bar around the icon when in advanced mode
/// </summary>
public virtual Color CooldownColor(float completionRatio) => Color.White;
/// <summary>
/// Determines if the cooldown can tick down. Useful for cooldowns that don't tick down when bosses are alive for example
/// </summary>
/// <param name="player"></param>
/// <returns></returns>
public virtual bool CanTickDown() => true;
}
}