Package zombie.scripting.objects
Class Script
java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.objects.Script
- Direct Known Subclasses:
Conditional
,QuestTaskCondition
,RandomSelector
,Trigger
public class Script extends BaseScriptObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Script.ScriptInstance
-
Field Summary
Fields Modifier and Type Field Description java.util.ArrayList
CommandList
boolean
Instancable
java.lang.String
name
Fields inherited from class zombie.scripting.objects.BaseScriptObject
module
-
Constructor Summary
Constructors Constructor Description Script()
-
Method Summary
Modifier and Type Method Description boolean
AllowCharacterBehaviour(java.lang.String string, Script.ScriptInstance scriptInstance)
void
begin(Script.ScriptInstance scriptInstance)
protected BaseCommand
DoActual(java.lang.String string, java.lang.String string2)
java.lang.String[]
DoScriptParsing(java.lang.String string, java.lang.String string2)
boolean
finished(Script.ScriptInstance scriptInstance)
void
Load(java.lang.String string, java.lang.String[] stringArray)
protected void
ParseCommand(java.lang.String string)
void
reset(Script.ScriptInstance scriptInstance)
protected BaseCommand
ReturnCommand(java.lang.String string)
void
update(Script.ScriptInstance scriptInstance)
Methods inherited from class zombie.scripting.objects.BaseScriptObject
getModule
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
Instancable
public boolean Instancable -
name
public java.lang.String name -
CommandList
public java.util.ArrayList CommandList
-
-
Constructor Details
-
Script
public Script()
-
-
Method Details
-
Load
public void Load(java.lang.String string, java.lang.String[] stringArray)- Overrides:
Load
in classBaseScriptObject
-
begin
-
finished
-
reset
-
update
-
ParseCommand
protected void ParseCommand(java.lang.String string) -
ReturnCommand
-
DoActual
-
DoScriptParsing
public java.lang.String[] DoScriptParsing(java.lang.String string, java.lang.String string2) -
AllowCharacterBehaviour
public boolean AllowCharacterBehaviour(java.lang.String string, Script.ScriptInstance scriptInstance)
-