Protected cursorPrivate cursorProtected localProtected modePrivate navigationProtected navigationPrivate optionPrivate optionPrivate optionsPrivate optionsPrivate reloadPrivate reloadProtected rowsProtected scenePrivate scrollPrivate settingProtected settingsPrivate settingsProtected titleProcesses 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.
Set the option cursor to the specified position.
The index of the setting.
The cursor position to set.
Optional save: booleanWhether to save the setting to local storage.
true if the option cursor was set successfully.
Abstract class for handling UI elements related to settings.