Class CooldownTask

java.lang.Object
studio.magemonkey.fabled.thread.RepeatThreadTask
studio.magemonkey.fabled.task.CooldownTask
All Implemented Interfaces:
Runnable, IThreadTask

public class CooldownTask extends RepeatThreadTask
Handles updating cooldown values on skill bars for players
  • 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