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

Hierarchy (view full)

Constructors

Properties

active: boolean = false
awaitingActionInput: boolean
communityConfig: OptionSelectConfig
cursor: number = 0
cursorObj: Image
ignoredMenuOptions: MenuOptions[]
manageDataConfig: OptionSelectConfig
menuBg: NineSlice
menuContainer: Container
menuMessageBoxContainer: Container
menuOptions: MenuOptions[]
message: Text
mode: number
onActionInput: Function
optionSelectText: Text
pendingPrompt: boolean
prompt: Sprite
scene: default
textCallbackTimer: TimerEvent
textTimer: TimerEvent
tutorialActive: boolean = false

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