Class LoopScriptTask
- java.lang.Object
-
- com.epicbot.api.shared.script.task.LoopScriptTask
-
- All Implemented Interfaces:
ScriptTask
,java.lang.Runnable
public abstract class LoopScriptTask extends java.lang.Object implements ScriptTask
-
-
Constructor Summary
Constructors Constructor Description LoopScriptTask()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
init(ScriptTaskContainer taskContainer)
boolean
isRunning()
protected abstract int
loop()
void
resume()
void
run()
void
stop()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.epicbot.api.shared.script.task.ScriptTask
shouldExecute
-
-
-
-
Method Detail
-
init
public final void init(ScriptTaskContainer taskContainer)
-
run
public final void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
loop
protected abstract int loop()
-
resume
public final void resume()
-
stop
public final void stop()
-
isRunning
public final boolean isRunning()
-
-