Abstract class for handling UI elements related to control settings.

Hierarchy (view full)

Constructors

Properties

actionsBg: NineSlice
active: boolean = false
bindingSettings: String[]
commonSettingsCount: any
configs: any
cursor: number = 0
cursorObj: null | NineSlice
device: Device
inputsIcons: InputsIcons
keys: String[]
layout: Map<string, LayoutConfig> = ...
localStoragePropertyName: any
mode: null | number
navigationContainer: default
navigationIcons: InputsIcons
optionCursors: number[]
optionValueLabels: Text[][]
optionsBg: NineSlice
optionsContainer: Container
rowsToDisplay: number
scene: default
scrollBar: ScrollBar
scrollCursor: number
setting: any
settingBlacklisted: any
settingDeviceDefaults: any
settingDeviceOptions: any
settingLabels: Text[]
settingsContainer: Container
textureOverride: any
titleSelected: any

Methods

  • Set the option cursor to the specified position.

    Parameters

    • settingIndex: number

      The index of the setting.

    • cursor: number

      The cursor position to set.

    • Optionalsave: boolean

      Whether to save the setting to local storage.

    Returns boolean

    true if the option cursor was set successfully.