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 full)

Constructors

Properties

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

Methods

  • 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
    • Optionalname: 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