public class Objective
extends java.lang.Object
Constructor and Description |
---|
Objective(java.lang.String[] args,
Quest quest,
Stage stage,
int id) |
Modifier and Type | Method and Description |
---|---|
Arguments |
getData() |
int |
getID() |
IObjective |
getInternalObjective() |
int |
getQuantity(Stage stage,
QuestData data,
QuestProgress progress,
Objective objective,
Arguments arguments) |
java.util.ArrayList<QuestMarker> |
mark(Stage stage,
QuestProgress progress,
int index,
java.lang.Object... args) |
boolean |
receive(java.lang.String identifier,
Stage stage,
QuestData data,
QuestProgress progress,
int index,
java.lang.Object... args) |
boolean |
test(Stage stageIn,
QuestData dataIn,
QuestProgress progressIn,
Context argsIn) |
public Objective(java.lang.String[] args, Quest quest, Stage stage, int id) throws InvalidQuestArgsException
InvalidQuestArgsException
public int getID()
public IObjective getInternalObjective()
public Arguments getData()
public boolean test(Stage stageIn, QuestData dataIn, QuestProgress progressIn, Context argsIn) throws InvalidQuestArgsException
InvalidQuestArgsException
public int getQuantity(Stage stage, QuestData data, QuestProgress progress, Objective objective, Arguments arguments)
public java.util.ArrayList<QuestMarker> mark(Stage stage, QuestProgress progress, int index, java.lang.Object... args)
public boolean receive(java.lang.String identifier, Stage stage, QuestData data, QuestProgress progress, int index, java.lang.Object... args) throws InvalidQuestArgsException
InvalidQuestArgsException