Class QuestRegistry

java.lang.Object
com.pixelmonmod.pixelmon.quests.QuestRegistry

public class QuestRegistry extends Object
  • Field Details

    • GSON

      public static final com.google.gson.Gson GSON
  • Constructor Details

    • QuestRegistry

      public QuestRegistry()
  • Method Details

    • getInstance

      public static QuestRegistry getInstance()
    • getQuests

      public HashMap<String,Quest> getQuests()
    • addQuest

      public void addQuest(Quest quest)
    • createOrUpdateQuest

      public void createOrUpdateQuest(Quest quest)
    • removeQuest

      public void removeQuest(Quest quest)
    • deleteQuest

      public void deleteQuest(Quest quest)
    • getQuest

      public Quest getQuest(String filepath)
    • getAction

      public IAction getAction(String id)
    • getObjective

      public IObjective getObjective(String id)
    • getQuestCollection

      public Collection<Quest> getQuestCollection()
    • getQuestElements

      public ArrayList<QuestElement> getQuestElements()
    • getQuestFilepaths

      public Set<String> getQuestFilepaths(boolean underscoreSpaces)
    • registerClasses

      public void registerClasses()
    • registerActions

      public static void registerActions(IAction... actions)
    • registerObjectives

      public static void registerObjectives(IObjective... objectives)
    • registerAction

      public static void registerAction(IAction action)
    • registerObjective

      public static void registerObjective(IObjective objective)