Package org.dreambot.api.randoms
Class DismissSolver
- java.lang.Object
- 
- org.dreambot.api.randoms.RandomSolver
- 
- org.dreambot.api.randoms.DismissSolver
 
 
- 
- All Implemented Interfaces:
- java.util.EventListener,- PaintListener
 
 public class DismissSolver extends RandomSolver 
- 
- 
Constructor SummaryConstructors Constructor Description DismissSolver()
 - 
Method SummaryAll 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.RandomSolverdisable, enable, getDebugInfo, getEventString, getMinimumRest, isEnabled, isForceDisable, lastRan, onFinish, onPaint, onPaint, onStart, setForceDisable
 
- 
 
- 
- 
- 
Method Detail- 
shouldExecutepublic boolean shouldExecute() Checks whether the random even solver should execute; This method must be overridden- Specified by:
- shouldExecutein class- RandomSolver
- Returns:
- true as long as the random executor should be executing
 
 - 
onLooppublic int onLoop() Runs as long as shouldExecute returns true; This method must be overridden- Specified by:
- onLoopin class- RandomSolver
- Returns:
- time to delay before next onLoop
 
 
- 
 
-