-
Method Summary
void
Deletes the cooldown for the given group, if it exists.
Returns the cooldown for the given group if it exists and it's active.
boolean
Returns whether the profile is empty.
void
Sets the cooldown for the given group.
-
Method Details
-
getCooldown
Returns the cooldown for the given group if it exists and it's active.
- Parameters:
group - group that identifies the cooldown
- Returns:
- the active cooldown, or
null
-
setCooldown
Sets the cooldown for the given group.
- Parameters:
group - group that identifies the cooldown
cooldown - cooldown value
-
deleteCooldown
Deletes the cooldown for the given group, if it exists.
- Parameters:
group - the group
-
isEmpty
boolean isEmpty()
Returns whether the profile is empty.
- Returns:
true if the profile is empty, else false