Class ActiveTrigger

java.lang.Object
rocks.gravili.notquests.paper.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()