Package org.rspeer.game.script
Class TaskScript
- java.lang.Object
-
- org.rspeer.game.script.Script
-
- org.rspeer.game.script.TaskScript
-
public abstract class TaskScript extends Script
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.rspeer.game.script.Script
Script.State
-
-
Field Summary
Fields Modifier and Type Field Description protected TaskManager
manager
-
Constructor Summary
Constructors Constructor Description TaskScript()
-
Method Summary
All Methods Instance Methods Abstract 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()
protected abstract java.lang.Class<? extends Task>[]
tasks()
-
Methods inherited from class org.rspeer.game.script.Script
canBreak, createInjector, getAccount, getDataDirectory, getExecutionType, getMeta, getState, isInterruptable, isPassiveForceEnabled, processArgs, setAccount, setState, setState
-
-
-
-
Field Detail
-
manager
protected TaskManager manager
-
-
Method Detail
-
tasks
protected abstract java.lang.Class<? extends Task>[] tasks()
-
onStart
public final void onStart(com.google.gson.JsonElement args)
-
initialize
public void initialize()
-
shutdown
public void shutdown()
-
getManager
public TaskManager getManager()
-
-