Class EnterAmountDialog
- java.lang.Object
-
- com.osrsbots.orb.api.interactables.dialogs.EnterAmountDialog
-
public class EnterAmountDialog extends java.lang.ObjectThe `EnterAmountDialog` class provides methods for interacting with the dialog in Old School RuneScape. It allows for checking if the dialog is open, setting a specified amount, and handling invalid inputs.
-
-
Constructor Summary
Constructors Constructor Description EnterAmountDialog()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisOpen()Checks if the dialog is open.static booleanset(int amount)Sets the specified amount in the dialog.
-
-
-
Method Detail
-
isOpen
public static boolean isOpen()
Checks if the dialog is open.- Returns:
- true if the dialog is open, false otherwise.
-
set
public static boolean set(int amount)
Sets the specified amount in the dialog.- Parameters:
amount- The amount to set in the dialog.- Returns:
- true if the amount is set successfully, false otherwise.
-
-