Hierarchy (view full)

Constructors

Properties

active: boolean = false
cursor: number = 0
cursorObj: NineSlice
mode: number
optionCursors: number[]
optionValueLabels: Text[][]
optionsBg: NineSlice
optionsContainer: Container
reloadI18n: boolean
reloadRequired: boolean
scene: default
scrollCursor: number
settingLabels: Text[]
settingsContainer: Container

Methods

  • 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.

    Parameters

    • button: Button

      The button pressed by the user.

    Returns boolean

    true if the action associated with the button was successfully processed, false otherwise.

  • Parameters

    • settingIndex: number
    • cursor: number
    • Optional save: boolean

    Returns boolean