PokéRogue
    Preparing search index...

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

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    active: boolean = false
    awaitingActionInput: boolean
    cursor: number = 0
    message: Text
    mode: number | null
    onActionInput: AnyFn | null
    pendingPrompt: boolean
    prompt: Sprite
    textCallbackTimer: TimerEvent | null
    textTimer: TimerEvent | null
    tutorialActive: boolean = false
    tutorialOverlay: Rectangle

    Methods

    • Add the sprite to be displayed at the end of messages with prompts

      Parameters

      • container: Container

        the container to add the sprite to

      Returns void

    • Parameters

      • text: string
      • Optional_name: string
      • Optionaldelay: number | null
      • Optionalcallback: (() => void) | null
      • OptionalcallbackDelay: number | null
      • Optionalprompt: boolean | null
      • OptionalpromptDelay: number | null

      Returns void

    • Parameters

      • Optionalcallback: (() => void) | null
      • OptionalcallbackDelay: number | null

      Returns void

    • Parameters

      • text: string
      • Optionaldelay: number | null
      • Optionalcallback: (() => void) | null
      • OptionalcallbackDelay: number | null
      • Optionalprompt: boolean | null
      • OptionalpromptDelay: number | null

      Returns void

    • Parameters

      • text: string
      • Optionaldelay: number | null
      • Optionalcallback: (() => void) | null
      • OptionalcallbackDelay: number | null
      • Optionalprompt: boolean | null
      • OptionalpromptDelay: number | null

      Returns void