Package zombie.Quests
Class QuestManager
java.lang.Object
zombie.Quests.QuestManager
public class QuestManager
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static QuestManager
instance
int
NumActiveQuests
java.util.Stack
QuestStack
-
Constructor Summary
Constructors Constructor Description QuestManager()
-
Method Summary
Modifier and Type Method Description QuestTask
AddQuestTask_ArbitaryAction(Quest CurrentQuest, java.lang.String InternalName, java.lang.String Title, java.lang.String ArbActionHandle)
QuestTask
AddQuestTask_EquipItem(Quest CurrentQuest, java.lang.String InternalName, java.lang.String NewTaskName, java.lang.String ItemType)
QuestTask
AddQuestTask_FindItem(Quest CurrentQuest, java.lang.String InternalName, java.lang.String NewTaskName, java.lang.String ItemType, int NumRequired)
QuestTask
AddQuestTask_GiveItem(Quest CurrentQuest, java.lang.String InternalName, java.lang.String NewTaskName, java.lang.String QuestItemName, java.lang.String QuestCharacterName)
QuestTask
AddQuestTask_GotoLocation(Quest CurrentQuest, java.lang.String InternalName, java.lang.String NewTaskName, int x, int y, int z)
QuestTask
AddQuestTask_LuaCondition(Quest CurrentQuest, java.lang.String InternalName, java.lang.String Title, LuaClosure ArbActionHandle, KahluaTable table)
QuestTask
AddQuestTask_ScriptCondition(Quest CurrentQuest, java.lang.String InternalName, java.lang.String Title, java.lang.String ArbActionHandle)
QuestTask
AddQuestTask_TalkTo(Quest CurrentQuest, java.lang.String InternalName, java.lang.String NewTaskName, java.lang.String QuestCharacterName)
QuestTask
AddQuestTask_UseItemOn(Quest CurrentQuest, java.lang.String InternalName, java.lang.String NewTaskName, java.lang.String ItemType, ScriptCharacter TaskCharacter)
void
ClearQuest(java.lang.String internalName)
Quest
CreateQuest(java.lang.String InternalName, java.lang.String QuestName)
Quest
FindQuest(java.lang.String InternalName)
int
getNumQuests()
Quest
getQuest(int i)
java.lang.String
getQuestName(int i)
boolean
QuestComplete(int i)
void
Update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
NumActiveQuests
public int NumActiveQuests -
QuestStack
public java.util.Stack QuestStack
-
-
Constructor Details
-
QuestManager
public QuestManager()
-
-
Method Details
-
AddQuestTask_ArbitaryAction
-
AddQuestTask_ScriptCondition
-
AddQuestTask_LuaCondition
public QuestTask AddQuestTask_LuaCondition(Quest CurrentQuest, java.lang.String InternalName, java.lang.String Title, LuaClosure ArbActionHandle, KahluaTable table) -
AddQuestTask_EquipItem
-
AddQuestTask_FindItem
-
AddQuestTask_GiveItem
-
AddQuestTask_GotoLocation
-
AddQuestTask_TalkTo
-
AddQuestTask_UseItemOn
public QuestTask AddQuestTask_UseItemOn(Quest CurrentQuest, java.lang.String InternalName, java.lang.String NewTaskName, java.lang.String ItemType, ScriptCharacter TaskCharacter) -
CreateQuest
-
FindQuest
-
getNumQuests
public int getNumQuests() -
getQuest
-
getQuestName
public java.lang.String getQuestName(int i) -
QuestComplete
public boolean QuestComplete(int i) -
Update
public void Update() -
ClearQuest
public void ClearQuest(java.lang.String internalName)
-