Package org.rspeer.game.script
Class TaskScript
- java.lang.Object
-
- org.rspeer.game.script.Script
-
- org.rspeer.game.script.TaskScript
-
- Direct Known Subclasses:
PassiveScript
,SituationScript
public abstract class TaskScript extends Script
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.rspeer.game.script.Script
Script.State
-
-
Constructor Summary
Constructors Constructor Description TaskScript()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskManager
getManager()
void
initialize()
int
loop()
void
onFinish()
void
onStart(com.google.gson.JsonElement args)
void
shutdown()
-
Methods inherited from class org.rspeer.game.script.Script
getAccount, getBreakProfile, getDataDirectory, getInjector, getMeta, getState, isInterruptable, isPassiveForceEnabled, isSafeToBreak, onHighlightTextboxClientScript, onSceneUpdate, processArgs, setAccount, setBreakProfile, setState, setState
-
-
-
-
Method Detail
-
onStart
public final void onStart(com.google.gson.JsonElement args)
-
initialize
public void initialize()
-
shutdown
public void shutdown()
-
getManager
public TaskManager getManager()
-
loop
public int loop()
- Overrides:
loop
in classScript
- See Also:
for an existing, high level tick synchronized scripting model
,if you would like to build your own system on top of the tick
-
-