Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new UIMenuGridPanel(topText?: string, leftText?: string, rightText?: string, bottomText?: string, circlePosition?: Point): UIMenuGridPanel

Properties

Private _bottomText

_bottomText: undefined | Text

Private Readonly _circle

_circle: Sprite

Private Readonly _grid

_grid: Sprite

Private _isCircleLocked

_isCircleLocked: boolean = false

Private _lastCirclePosition

_lastCirclePosition: Point

Private _leftText

_leftText: undefined | Text

Private _lockXAxis

_lockXAxis: boolean = false

Private _lockYAxis

_lockYAxis: boolean = false

Private _pressed

_pressed: boolean = false

Private _rightText

_rightText: undefined | Text

Private Readonly _setCirclePosition

_setCirclePosition: Point

Private _topText

_topText: undefined | Text

Protected Readonly background

background: Sprite

Protected enabled

enabled: boolean = true

Readonly id

id: string = ...

Protected parentItem

parentItem: undefined | UIMenuItem

Accessors

BottomText

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

CirclePosition

  • get CirclePosition(): Point
  • set CirclePosition(position: Point): void

CirclePositionX

  • set CirclePositionX(x: number): void

CirclePositionY

  • set CirclePositionY(y: number): void

Enabled

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

Height

  • get Height(): number

LeftText

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

LockXAxis

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

LockYAxis

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

ParentItem

ParentMenu

  • get ParentMenu(): undefined | Menu

RightText

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

TopText

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

Methods

Private _processControls

  • _processControls(): void

Private _setText

  • _setText(name: string, value: string): void

draw

  • draw(): void

setVerticalPosition

  • setVerticalPosition(y: number): void

updateParentItem

  • updateParentItem(): void

Generated using TypeDoc