Simple cooldown tracker. Call use() to start cooldown, check isReady() to see if it's available. Update with delta each frame.
use()
isReady()
0 = just used, 1 = ready
Force the cooldown (even if not ready)
Reset cooldown to ready
Update with frame delta in ms
Try to use the cooldown. Returns true if it was ready.
Simple cooldown tracker. Call
use()to start cooldown, checkisReady()to see if it's available. Update with delta each frame.