Debounce
Handles debouncing for keys of type K.
Debouncing ensures that an action can only be performed if a certain amount of time has passed since the last successful action for that specific key.
Parameters
K
the type of the key used to identify debounce states
Functions
Link copied to clipboard
Link copied to clipboard
Tries to allow an action for the specified player with the given minInterval.
Link copied to clipboard
Returns the remaining time until the specified key is allowed to be used again, in milliseconds.