Protected
awaitingProtected
cursorProtected
localProtected
modeProtected
navigationProtected
onProtected
rowsProtected
sceneProtected
settingsProtected
textProtected
textProtected
titleActivate the specified setting if it is activatable.
The setting to activate.
Whether the setting was successfully activated.
Processes input from a specified button. This method handles navigation through a UI menu, including movement through menu items and handling special actions like cancellation. Each button press may adjust the cursor position or the menu scroll, and plays a sound effect if the action was successful.
The button pressed by the user.
true
if the action associated with the button was successfully processed, false
otherwise.
Protected
setSet the option cursor to the specified position.
The index of the setting or -1 to change the current setting
The cursor position to set.
Optional
save: booleanWhether to save the setting to local storage.
true
if the option cursor was set successfully.
Optional
name: stringOptional
delay: null | numberOptional
callback: null | FunctionOptional
callbackDelay: null | numberOptional
prompt: null | booleanOptional
promptDelay: null | number
Abstract class for handling UI elements related to settings.