Package studio.magemonkey.fabled.task
Class CooldownTask
java.lang.Object
studio.magemonkey.fabled.thread.RepeatThreadTask
studio.magemonkey.fabled.task.CooldownTask
- All Implemented Interfaces:
Runnable
,IThreadTask
Handles updating cooldown values on skill bars for players
-
Field Summary
Fields inherited from class studio.magemonkey.fabled.thread.RepeatThreadTask
expired
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class studio.magemonkey.fabled.thread.RepeatThreadTask
tick
-
Constructor Details
-
CooldownTask
public CooldownTask()Initializes a new cooldown task. This shouldn't be used by other plugins as it is already set up by the API and additional copies would create extra processing for no real gain.
-
-
Method Details
-
run
public void run()Updates the cooldowns on skill bars each second
-