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: Image
defaultText: string
eggGachaContainer: Container
eggGachaMessageBox: NineSlice
eggGachaOptionSelectBg: NineSlice
eggGachaOptionsContainer: Container
eggGachaOverlay: Rectangle
eggGachaSummaryContainer: Container
gachaContainers: Container[]
gachaCursor: number
gachaHatches: Sprite[]
gachaInfoContainers: Container[]
gachaKnobs: Sprite[]
message: Text
mode: number
onActionInput: Function
pendingPrompt: boolean
prompt: Sprite
scene: default
textCallbackTimer: TimerEvent
textTimer: TimerEvent
transitionCancelled: boolean
transitioning: boolean
tutorialActive: boolean = false
voucherCountLabels: Text[]

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