pokemon-rogue-battle
    Preparing search index...

    RunHistoryUiHandler handles the UI of the Run History Menu Run History itself is broken into an array of RunEntryContainer objects that can show the user basic details about their run and allow them to access more details about their run through cursor action. It navigates similarly to the UI of the save slot select menu. The only valid input buttons are Button.ACTION and Button.CANCEL.

    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

    • Performs a certain action based on the button pressed by the user

      Parameters

      • button: Button

        The user can navigate through the runs with Button.UP/Button.DOWN. Button.ACTION allows the user to access more information about their runs. Button.CANCEL allows the user to go back.

      Returns boolean

    • 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