Package org.dreambot.api.randoms
Class RoofDisabler
- java.lang.Object
-
- org.dreambot.api.randoms.RandomSolver
-
- org.dreambot.api.randoms.RoofDisabler
-
- All Implemented Interfaces:
java.util.EventListener,PaintListener
public class RoofDisabler extends RandomSolver
-
-
Constructor Summary
Constructors Constructor Description RoofDisabler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intonLoop()Runs as long as shouldExecute returns true; This method must be overriddenbooleanshouldExecute()Checks whether the random even solver should execute; This method must be overridden-
Methods inherited from class org.dreambot.api.randoms.RandomSolver
disable, enable, getDebugInfo, getEventString, getMinimumRest, isEnabled, isForceDisable, lastRan, onFinish, onPaint, onPaint, onStart, setForceDisable
-
-
-
-
Method Detail
-
shouldExecute
public boolean shouldExecute()
Description copied from class:RandomSolverChecks whether the random even solver should execute; This method must be overridden- Specified by:
shouldExecutein classRandomSolver- Returns:
- true as long as the random executor should be executing
-
onLoop
public int onLoop()
Description copied from class:RandomSolverRuns as long as shouldExecute returns true; This method must be overridden- Specified by:
onLoopin classRandomSolver- Returns:
- time to delay before next onLoop
-
-