Package zombie.scripting.objects
Class Script.ScriptInstance
java.lang.Object
zombie.scripting.objects.Script.ScriptInstance
- Enclosing class:
- Script
public static class Script.ScriptInstance
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description java.util.HashMap
CharacterAliases
java.util.HashMap
CharacterAliasesR
boolean
CharactersAlreadyInScript
int
CommandIndex
java.lang.String
ID
java.util.HashMap
luaMap
Script.ScriptInstance
parent
boolean
Paused
Script
theScript
-
Constructor Summary
Constructors Constructor Description ScriptInstance()
-
Method Summary
Modifier and Type Method Description void
addPair(java.lang.String key, java.lang.String val)
boolean
AllowBehaviours(IsoGameCharacter gameCharacter)
void
begin()
void
CopyAliases(Script.ScriptInstance from)
boolean
finished()
IsoGameCharacter
getAlias(java.lang.String str)
boolean
HasAlias(java.lang.String str)
void
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
luaMap
public java.util.HashMap luaMap -
parent
-
theScript
-
CommandIndex
public int CommandIndex -
Paused
public boolean Paused -
CharacterAliases
public java.util.HashMap CharacterAliases -
CharacterAliasesR
public java.util.HashMap CharacterAliasesR -
ID
public java.lang.String ID -
CharactersAlreadyInScript
public boolean CharactersAlreadyInScript
-
-
Constructor Details
-
ScriptInstance
public ScriptInstance()
-
-
Method Details
-
update
public void update() -
addPair
public void addPair(java.lang.String key, java.lang.String val) -
HasAlias
public boolean HasAlias(java.lang.String str) -
getAlias
-
finished
public boolean finished() -
begin
public void begin() -
AllowBehaviours
-
CopyAliases
-