Package com.epicbot.api.shared.methods
Interface IMenuAPI
public interface IMenuAPI
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleangetArea()intintintGets the method used for interacting.getItemArea(int index) getItems()getLocationOf(String action) getLocationOf(String action, String option) intgetSize()intgetWidth()intgetX()intgetY()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisOpen()default booleanWhether the menu actions will use doAction() for the actual interactions.voidsetInteractMethod(InteractMethod method) Sets the method used for interacting.
-
Method Details
-
getInteractMethod
InteractMethod getInteractMethod()Gets the method used for interacting. EitherInteractMethod.DO_ACTIONorInteractMethod.MOUSE.- Returns:
- the method used for interacting
-
isUseDoAction
default boolean isUseDoAction()Whether the menu actions will use doAction() for the actual interactions. If false, it will use click(). -
interact
-
interact
-
interact
-
interact
-
closeMenu
boolean closeMenu() -
getActions
-
getOptions
-
getItems
-
contains
-
contains
-
getIndex
-
getIndex
-
getLocationOf
-
getLocationOf
-
getSize
int getSize() -
isOpen
boolean isOpen() -
getX
int getX() -
getY
int getY() -
getWidth
int getWidth() -
getHeight
int getHeight() -
getLocation
Point getLocation() -
getArea
Rectangle getArea() -
getItemArea