Package zombie.Quests
Class Quest
java.lang.Object
zombie.Quests.Quest
- All Implemented Interfaces:
Completable
public class Quest extends java.lang.Object implements Completable
-
Field Summary
Fields Modifier and Type Field Description boolean
Complete
boolean
Failed
int
NumQuestTasks
java.util.Stack
OnCompleteActions
java.util.Stack
QuestTaskStack
boolean
Unlocked
-
Constructor Summary
Constructors Constructor Description Quest(java.lang.String string, java.lang.String string2)
-
Method Summary
Modifier and Type Method Description QuestTask
AddQuestTask_EquipItem(java.lang.String string, java.lang.String string2, java.lang.String string3)
QuestTask
AddTask_FindItem(java.lang.String string, java.lang.String string2, java.lang.String string3, int int1)
QuestTask
AddTask_GiveItem(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4)
QuestTask
AddTask_GotoLocation(java.lang.String string, java.lang.String string2, int int1, int int2, int int3)
QuestTask
AddTask_TalkTo(java.lang.String string, java.lang.String string2, java.lang.String string3)
QuestTask
AddTask_UseItemOn(java.lang.String string, java.lang.String string2, java.lang.String string3, ScriptCharacter scriptCharacter)
QuestTask
FindTask(java.lang.String string)
java.lang.String
getInternalName()
java.lang.String
getName()
int
getNumTasks()
java.lang.String
getTaskName(int int1)
boolean
IsComplete()
boolean
IsFailed()
boolean
TaskComplete(int int1)
boolean
TaskFailed(int int1)
void
Update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
Complete
public boolean Complete -
Failed
public boolean Failed -
NumQuestTasks
public int NumQuestTasks -
OnCompleteActions
public java.util.Stack OnCompleteActions -
QuestTaskStack
public java.util.Stack QuestTaskStack -
Unlocked
public boolean Unlocked
-
-
Constructor Details
-
Quest
public Quest(java.lang.String string, java.lang.String string2)
-
-
Method Details
-
AddQuestTask_EquipItem
public QuestTask AddQuestTask_EquipItem(java.lang.String string, java.lang.String string2, java.lang.String string3) -
AddTask_FindItem
public QuestTask AddTask_FindItem(java.lang.String string, java.lang.String string2, java.lang.String string3, int int1) -
AddTask_GiveItem
public QuestTask AddTask_GiveItem(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4) -
AddTask_GotoLocation
public QuestTask AddTask_GotoLocation(java.lang.String string, java.lang.String string2, int int1, int int2, int int3) -
AddTask_TalkTo
public QuestTask AddTask_TalkTo(java.lang.String string, java.lang.String string2, java.lang.String string3) -
AddTask_UseItemOn
public QuestTask AddTask_UseItemOn(java.lang.String string, java.lang.String string2, java.lang.String string3, ScriptCharacter scriptCharacter) -
FindTask
-
getInternalName
public java.lang.String getInternalName() -
getName
public java.lang.String getName() -
getNumTasks
public int getNumTasks() -
getTaskName
public java.lang.String getTaskName(int int1) -
IsComplete
public boolean IsComplete()- Specified by:
IsComplete
in interfaceCompletable
-
IsFailed
public boolean IsFailed()- Specified by:
IsFailed
in interfaceCompletable
-
TaskComplete
public boolean TaskComplete(int int1) -
TaskFailed
public boolean TaskFailed(int int1) -
Update
public void Update()
-