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
message: Text
mode: number
onActionInput: Function
optionsContainer: Container

This is only public for test/ui/transfer-item.test.ts

pendingPrompt: boolean
prompt: Sprite
scene: default
textCallbackTimer: TimerEvent
textTimer: TimerEvent
tutorialActive: boolean = false
NoEffectMessage: never = ...

Methods

  • Parameters

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

    Returns void

  • Parameters

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

    Returns void