java.lang.Object
rocks.gravili.notquests.spigot.structs.triggers.ActiveTrigger

public class ActiveTrigger extends Object
  • Constructor Details

    • ActiveTrigger

      public ActiveTrigger(int triggerID, Trigger trigger, ActiveQuest activeQuest)
  • Method Details

    • getTrigger

      public final Trigger getTrigger()
    • isCompleted

      public boolean isCompleted()
    • getCurrentProgress

      public final long getCurrentProgress()
    • setCurrentProgress

      public void setCurrentProgress(long newCurrentProgress)
    • addProgress

      public void addProgress(long progressToAdd)
    • addAndCheckTrigger

      public void addAndCheckTrigger(ActiveQuest activeQuest)
    • getTriggerID

      public final int getTriggerID()
    • addProgressSilent

      public void addProgressSilent(long progressToAdd)
    • getActiveQuest

      public final ActiveQuest getActiveQuest()