ProtectedawaitingProtectedblockProtectedcursorProtectedcursorProtectedfullyProtected ReadonlymodeUsed to set the name of optionSelectContainer
ProtectedonProtectedoptionProtectedoptionProtectedoptionProtectedoptionProtectedscaleProtectedscrollProtectedscrollProtectedtextProtectedtextProtectedcurrentProtectedwindowProtectedclearProtectedclearProtectedclearTo be implemented by individual handlers when necessary to free memory Called when BattleScene is reset
ProtecteddisplayProtectedinitInitializes the cursor when opening the menu. MUST only be called after this.initOptions()!
ProtectedinitializeReadies the given UIOptionSelectItem for display.
The UIOptionSelectItem to consider
The width of a single space, used to offset the label if there is a icon to show
A Sprite object that can be used to measure the needed space of the item's icon, if any
Add the sprite to be displayed at the end of messages with prompts
the container to add the sprite to
Create a semi transparent overlay that will get shown during tutorials
the container to add the overlay to
ProtectedsetChanges the style of the mouse cursor.
cursor style to apply
ProtectedsetOptional_name: stringOptionaldelay: number | nullOptionalcallback: (() => void) | nullOptionalcallbackDelay: number | nullOptionalprompt: boolean | nullOptionalpromptDelay: number | nullOptionalcallback: (() => void) | nullOptionalcallbackDelay: number | nullOptionaldelay: number | nullOptionalcallback: (() => void) | nullOptionalcallbackDelay: number | nullOptionalprompt: boolean | nullOptionalpromptDelay: number | nullProtectedunblockProtectedupdateAutomatically set the menu's size for the given options.
Array of UIOptionSelectItems to consider
Handler that displays a simple Yes/No menu.