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 TaskManagergetManager()voidinitialize()intloop()voidonFinish()voidonStart(com.google.gson.JsonElement args)voidshutdown()-
Methods inherited from class org.rspeer.game.script.Script
getAccount, getBreakProfile, getDataDirectory, getInjector, getMeta, getState, isInterruptable, isPassiveForceEnabled, isSafeToBreak, onHighlightTextboxClientScript, onMouseDataUpdate, 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:
loopin 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
-
-