Class EnterAmountDialog
- java.lang.Object
-
- com.runemate.game.api.hybrid.local.hud.interfaces.EnterAmountDialog
-
@Deprecated public class EnterAmountDialog extends java.lang.Object
Deprecated.Replaced with InputDialog to accommodate String inputsHybrid helper class for the "Enter amount:" dialog seen in banks, deposit boxes and elsewhere
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
enterAmount(int amount)
Deprecated.Enters the amount specified into the dialog box and delays until the action was successfulstatic boolean
enterAmount(int amount, boolean metric)
Deprecated.static boolean
enterAmount(java.lang.String text)
Deprecated.static boolean
isOpen()
Deprecated.Determines whether or not the "Enter amount:" dialog is open
-
-
-
Method Detail
-
isOpen
public static boolean isOpen()
Deprecated.Determines whether or not the "Enter amount:" dialog is open- Returns:
- true if the dialog is open
-
enterAmount
public static boolean enterAmount(int amount)
Deprecated.Enters the amount specified into the dialog box and delays until the action was successful- Parameters:
amount
- amount to type- Returns:
- if successfully typed the amount, selected enter and confirmed the dialog has closed
-
enterAmount
public static boolean enterAmount(int amount, boolean metric)
Deprecated.- Parameters:
amount
- amount to typemetric
- true to force truncation of amount, false to type whole number- Returns:
- if successfully typed the amount, selected enter and confirmed the dialog has closed
-
enterAmount
public static boolean enterAmount(java.lang.String text)
Deprecated.- Parameters:
text
- string to type- Returns:
- if successfully typed the amount, selected enter and confirmed the dialog has closed
-
-