Package zombie.Quests
Class QuestTask
java.lang.Object
zombie.Quests.QuestTask
- All Implemented Interfaces:
Completable
- Direct Known Subclasses:
QuestTask_ArbitaryAction
,QuestTask_EquipItem
,QuestTask_FindItem
,QuestTask_GiveItem
,QuestTask_GotoLocation
,QuestTask_LuaCondition
,QuestTask_ScriptCondition
,QuestTask_TalkTo
,QuestTask_UseItemOn
public class QuestTask extends java.lang.Object implements Completable
-
Field Summary
Fields Modifier and Type Field Description boolean
Complete
boolean
Failed
boolean
Hidden
java.util.Stack
OnCompleteActions
QuestTaskType
TaskType
boolean
Unlocked
boolean
WasComplete
-
Constructor Summary
Constructors Constructor Description QuestTask(QuestTaskType questTaskType, java.lang.String string, java.lang.String string2)
-
Method Summary
Modifier and Type Method Description java.lang.String
getInternalName()
java.lang.String
getName()
boolean
IsComplete()
boolean
IsFailed()
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 -
Hidden
public boolean Hidden -
OnCompleteActions
public java.util.Stack OnCompleteActions -
TaskType
-
Unlocked
public boolean Unlocked -
WasComplete
public boolean WasComplete
-
-
Constructor Details
-
QuestTask
-
-
Method Details
-
getInternalName
public java.lang.String getInternalName() -
getName
public java.lang.String getName() -
IsComplete
public boolean IsComplete()- Specified by:
IsComplete
in interfaceCompletable
-
IsFailed
public boolean IsFailed()- Specified by:
IsFailed
in interfaceCompletable
-
Update
public void Update()
-