A basic abstract class to act as a holder and processor for UI elements.

Hierarchy (view full)

Constructors

Properties

active: boolean = false
awaitingActionInput: boolean
cursor: number = 0
cursorObj: NineSlice
itemsTotal: number
message: Text
mode: number
onActionInput: Function
pendingPrompt: boolean
prompt: Sprite
scene: default
scrollCursor: number
textCallbackTimer: TimerEvent
textTimer: TimerEvent
titleText: Text
tutorialActive: boolean = false
unlockText: Text
voucherIcons: Sprite[]
voucherIconsBg: NineSlice
voucherIconsContainer: Container
vouchersContainer: Container

Methods

  • Parameters

    • text: string
    • name: string
    • Optional delay: number
    • Optional callback: Function
    • Optional callbackDelay: number
    • Optional prompt: boolean
    • Optional promptDelay: number

    Returns void

  • Parameters

    • text: string
    • Optional delay: number
    • Optional callback: Function
    • Optional callbackDelay: number
    • Optional prompt: boolean
    • Optional promptDelay: number

    Returns void