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