pokemon-rogue-battle
    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: null | number
    onActionInput: null | Function
    pendingPrompt: boolean
    prompt: Sprite
    textCallbackTimer: null | TimerEvent
    textTimer: null | TimerEvent
    tutorialActive: boolean = false
    tutorialOverlay: Rectangle

    Methods

    • To be implemented by individual handlers when necessary to free memory Called when BattleScene is reset

      Returns void

    • Parameters

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

      Returns void

    • Parameters

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

      Returns void