Package org.rspeer.game.component
Class Dialog
java.lang.Object
org.rspeer.game.component.Dialog
Provides operations relating to dialogs
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static ComponentQuery
static InterfaceComponent
static Dialog.Mode
getMode()
static InterfaceComponent
static int
static String
getText()
static String
getTitle()
static boolean
static boolean
static boolean
process
(int chatOptionIndex) static boolean
static boolean
static boolean
static void
static void
setMode
(Dialog.Mode mode) static void
setPleaseWaitTick
(int pleaseWaitTick)
-
Constructor Details
-
Dialog
public Dialog()
-
-
Method Details
-
getPleaseWaitComponent
-
resetPleaseWaitComponent
public static void resetPleaseWaitComponent() -
getContinue
-
canContinue
public static boolean canContinue() -
processContinue
public static boolean processContinue() -
isViewingChatOptions
public static boolean isViewingChatOptions() -
isProcessing
public static boolean isProcessing() -
process
-
process
public static boolean process(int chatOptionIndex) -
getTitle
-
getText
-
process
- Parameters:
options
- Options to select- Returns:
true
if an option was successfully interacted with or is already being interacted with
-
getChatOptions
-
getMode
-
setMode
-
getPleaseWaitTick
public static int getPleaseWaitTick() -
setPleaseWaitTick
public static void setPleaseWaitTick(int pleaseWaitTick)
-