public class QuestEditorState
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addNewStage() |
void |
delete(Quest quest) |
void |
fetch(boolean openGui) |
static QuestEditorState |
get() |
QuestElement |
getAction(java.lang.String identifier) |
java.util.ArrayList<QuestElement> |
getActions() |
java.util.ArrayList<QuestElement> |
getActionsForStage(Stage stage) |
java.util.ArrayList<Quest> |
getAllQuests() |
QuestElement |
getObjective(java.lang.String identifier) |
java.util.ArrayList<QuestElement> |
getObjectives() |
java.util.ArrayList<QuestElement> |
getObjectivesForStage(Stage stage) |
Quest |
getSelectedQuest() |
boolean |
hasQuest(java.lang.String name) |
boolean |
hasQuestSelected() |
boolean |
isDirty() |
void |
markDirty() |
void |
push(java.lang.String oldName,
Quest quest,
boolean openUI) |
void |
selectQuest(Quest quest) |
void |
setQuests(java.util.ArrayList<Quest> quests,
java.util.ArrayList<QuestElement> elements) |
public static QuestEditorState get()
public void fetch(boolean openGui)
public void push(java.lang.String oldName, Quest quest, boolean openUI)
public void delete(Quest quest)
public void setQuests(java.util.ArrayList<Quest> quests, java.util.ArrayList<QuestElement> elements)
public java.util.ArrayList<Quest> getAllQuests()
public boolean hasQuest(java.lang.String name)
public java.util.ArrayList<QuestElement> getObjectives()
public QuestElement getObjective(java.lang.String identifier)
public java.util.ArrayList<QuestElement> getActions()
public QuestElement getAction(java.lang.String identifier)
public java.util.ArrayList<QuestElement> getObjectivesForStage(Stage stage)
public java.util.ArrayList<QuestElement> getActionsForStage(Stage stage)
public void selectQuest(Quest quest)
public boolean hasQuestSelected()
public Quest getSelectedQuest()
public void addNewStage()
public void markDirty()
public boolean isDirty()