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 scriptCharacter, Script.ScriptInstance instance)
void
begin(Script.ScriptInstance instance)
protected BaseCommand
DoActual(java.lang.String actual, java.lang.String object)
java.lang.String[]
DoScriptParsing(java.lang.String name, java.lang.String script)
boolean
finished(Script.ScriptInstance instance)
void
Load(java.lang.String name, java.lang.String[] strArray)
protected void
ParseCommand(java.lang.String command)
void
reset(Script.ScriptInstance instance)
protected BaseCommand
ReturnCommand(java.lang.String command)
void
update(Script.ScriptInstance instance)
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 name, java.lang.String[] strArray)- Overrides:
Load
in classBaseScriptObject
-
begin
-
finished
-
reset
-
update
-
ParseCommand
protected void ParseCommand(java.lang.String command) -
ReturnCommand
-
DoActual
-
DoScriptParsing
public java.lang.String[] DoScriptParsing(java.lang.String name, java.lang.String script) -
AllowCharacterBehaviour
public boolean AllowCharacterBehaviour(java.lang.String scriptCharacter, Script.ScriptInstance instance)
-