Package rsb.testsScript
Class Test
java.lang.Object
rsb.methods.Methods
rsb.script.Script
rsb.testsScript.Test
- All Implemented Interfaces:
Runnable
,EventListener
,PaintListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class rsb.script.Script
deactivate, delegateTo, getBot, init, init, isActive, isPaused, isRunning, onBreakFinish, onBreakStart, onFinish, onStart, onStart, run, setID, setPaused, stopScript, stopScript
-
Field Details
-
i
public int i -
up
public boolean up
-
-
Constructor Details
-
Test
public Test()
-
-
Method Details
-
loop
public int loop()Description copied from class:Script
The main loop. Called if you return true from onStart, then continuously until a negative integer is returned or the script stopped externally. When this script is paused this method will not be called until the script is resumed. Avoid causing execution to pause using sleep() within this method in favor of returning the number of milliseconds to sleep. This ensures that pausing and anti-randoms perform normally. -
onRepaint
- Specified by:
onRepaint
in interfacePaintListener
-