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

Hierarchy (view full)

Constructors

Properties

active: boolean = false
awaitingActionInput: boolean
bg: Sprite
commandWindow: NineSlice
cursor: number = 0
message: Text
mode: null | number
movesWindowContainer: Container
nameBoxContainer: Container
onActionInput: null | Function
pendingPrompt: boolean
prompt: Sprite
scene: default
textCallbackTimer: null | TimerEvent
textTimer: null | TimerEvent
tutorialActive: boolean = false
tutorialOverlay: Rectangle
wordWrapWidth: number = 1780

Methods

  • Parameters

    • partyMemberIndex: number
    • prevStats: number[]
    • showTotals: boolean

    Returns Promise<void>

  • Parameters

    • text: string
    • Optionalname: string
    • Optionaldelay: null | number
    • Optionalcallback: Function
    • OptionalcallbackDelay: number
    • Optionalprompt: boolean
    • OptionalpromptDelay: number

    Returns void

  • Parameters

    • text: string
    • Optionaldelay: null | number
    • Optionalcallback: null | Function
    • OptionalcallbackDelay: null | number
    • Optionalprompt: null | boolean
    • OptionalpromptDelay: null | number

    Returns void