Class CommonARClickCombos
java.lang.Object
io.github.jspinak.brobot.actions.actionResultCombo.CommonARClickCombos
Currently ActionResultCombos are set up for click operations as the first action.
This is because the parameters varied are for optimizing clicks.
ARCombos have potential to learn other values, too, but are currently not set up for other tasks.
-
Constructor Summary
ConstructorsConstructorDescriptionCommonARClickCombos
(RunARCombo runARCombo, CommonActionOptions commonActionOptions, CommonResults commonResults, AllStatesInProjectService allStatesInProjectService) -
Method Summary
Modifier and TypeMethodDescriptionboolean
clickAndAction
(StateImage toClick, StateImage resultImage, ActionOptions.Action actionType) boolean
clickAndFind
(StateImage toClick, StateImage toFind) boolean
clickAndFindState
(StateImage toClick, String stateName, int numberOfClicks) boolean
clickAndStateAction
(StateImage toClick, String stateName, double maxWait, ActionOptions.Action actionType, int numberOfClicks) boolean
clickAndVanish
(StateImage toClick, StateImage toVanish) boolean
clickAndVanishState
(StateImage toClick, String stateName, double maxWait, int numberOfClicks)
-
Constructor Details
-
CommonARClickCombos
public CommonARClickCombos(RunARCombo runARCombo, CommonActionOptions commonActionOptions, CommonResults commonResults, AllStatesInProjectService allStatesInProjectService)
-
-
Method Details
-
clickAndFind
-
clickAndVanish
-
clickAndAction
public boolean clickAndAction(StateImage toClick, StateImage resultImage, ActionOptions.Action actionType) -
clickAndFindState
-
clickAndVanishState
public boolean clickAndVanishState(StateImage toClick, String stateName, double maxWait, int numberOfClicks) -
clickAndStateAction
public boolean clickAndStateAction(StateImage toClick, String stateName, double maxWait, ActionOptions.Action actionType, int numberOfClicks)
-