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

Hierarchy (view full)

Constructors

Properties

active: boolean = false
awaitingActionInput: boolean
bgmBar: default
communityConfig: OptionSelectConfig
cursor: number = 0
manageDataConfig: OptionSelectConfig
message: Text
mode: null | number
onActionInput: null | Function
optionSelectText: Text
pendingPrompt: boolean
prompt: Sprite
scale: number = 0.1666666667
scene: default
textCallbackTimer: null | TimerEvent
textTimer: null | TimerEvent
tutorialActive: boolean = false
tutorialOverlay: Rectangle

Methods

  • Switch the message window style and size when we are replaying dialog for debug purposes In "dialog test mode", the window takes the whole width of the screen and the text is set up to wrap around the same way as the dialogue during the game

    Parameters

    • isDialogMode: boolean

      whether to use the dialog test

    Returns void

  • Parameters

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

    Returns void

  • Parameters

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

    Returns void