Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Private _bar

_bar: Rectangle[] = []

Private _colors

_colors: Color[] = []

Private _index

_index: number = 0

Private _lastColor

_lastColor: Color = Color.empty

Private Readonly _leftArrow

_leftArrow: Sprite

Private _max

_max: number = 8

Private _min

_min: number = 0

Private Readonly _rightArrow

_rightArrow: Sprite

Private Readonly _selectedRectangle

_selectedRectangle: Rectangle

Private _text

_text: Text

Private _title

_title: string = ''

Private _total

_total: number = 9

Protected Readonly background

background: Sprite

Protected enabled

enabled: boolean = true

Readonly id

id: string = ...

Protected parentItem

parentItem: undefined | UIMenuItem

Accessors

Color

Colors

  • get Colors(): Color[]
  • set Colors(value: Color[]): void

Enabled

  • get Enabled(): boolean
  • set Enabled(value: boolean): void

Height

  • get Height(): number

Index

  • get Index(): number
  • set Index(value: number): void

ParentItem

ParentMenu

  • get ParentMenu(): undefined | Menu

Title

  • get Title(): string
  • set Title(value: string): void

Methods

Private _goLeft

  • _goLeft(): void

Private _goRight

  • _goRight(): void

Private _processControls

  • _processControls(): void

Private _refreshIndex

  • _refreshIndex(): void

Private _updateSelection

  • _updateSelection(preventUpdate?: boolean): void

Private _updateText

  • _updateText(): void

draw

  • draw(): void

setVerticalPosition

  • setVerticalPosition(y: number): void

updateParentItem

  • updateParentItem(): void

Generated using TypeDoc