Class TaskBot
- java.lang.Object
-
- com.runemate.game.api.script.framework.AbstractBot
-
- com.runemate.game.api.script.framework.LoopingBot
-
- com.runemate.game.api.script.framework.task.TaskBot
-
public abstract class TaskBot extends LoopingBot
An outdated and inferior bot framework.- See Also:
TreeBot
-
-
Constructor Summary
Constructors Constructor Description TaskBot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(com.runemate.game.api.script.framework.task.Task... tasks)
Adds the tasks to the list to be processed.java.util.List<com.runemate.game.api.script.framework.task.Task>
getTasks()
Gets a java.util.List of all of the top-level tasksvoid
onLoop()
The script's entry point, all of your logic goes here.void
remove(com.runemate.game.api.script.framework.task.Task... tasks)
Removes the tasks from the list.void
removeAll()
Removes all of the tasks from the list.-
Methods inherited from class com.runemate.game.api.script.framework.LoopingBot
getLoopDelay, run, setLoopDelay, setLoopDelay
-
Methods inherited from class com.runemate.game.api.script.framework.AbstractBot
addWebServicesContext, completeRestart, equals, getBridgeService, getCache, getCacheController, getConfiguration, getEmbeddableUI, getEventDispatcher, getFpsRegulator, getGameEventController, getInputManager, getLogger, getMetaData, getPlatform, getSettings, getSettingsManager, getState, hashCode, IiIIiiiiiIIiIi, initiateRestart, isPaused, isRestarting, isRunning, isSafeToPause, isSafeToStop, isStopped, isUnstarted, onPause, onResume, onStart, onStop, onStop, pause, pause, removeWebServicesContext, resume, setEmbeddableUI, setEmbeddableUI, start, stop, stop
-
-
-
-
Method Detail
-
onLoop
public final void onLoop()
Description copied from class:LoopingBot
The script's entry point, all of your logic goes here.- Specified by:
onLoop
in classLoopingBot
-
add
public final void add(com.runemate.game.api.script.framework.task.Task... tasks)
Adds the tasks to the list to be processed.
-
remove
public final void remove(com.runemate.game.api.script.framework.task.Task... tasks)
Removes the tasks from the list.
-
removeAll
public final void removeAll()
Removes all of the tasks from the list.
-
getTasks
public final java.util.List<com.runemate.game.api.script.framework.task.Task> getTasks()
Gets a java.util.List of all of the top-level tasks- Returns:
- a java.util.Task of top-level tasks
-
-