PokéRogue
    Preparing search index...

    UI Handler for the egg summary. Handles navigation and display of each pokemon as a list Also handles display of the pokemon-hatch-info-container

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    active: boolean = false
    awaitingActionInput: boolean
    blockExit: boolean

    used to add a delay before which it is not possible to exit the summary

    cursor: number = 0
    cursorObj: Image
    eggHatchBg: Image
    eggHatchContainer: Container

    holds all elements in the scene

    eggHatchData: EggHatchData[]
    eventTarget: EventTarget = ...

    Allows subscribers to listen for events

    Current Events:

    • EggEventType.EGG_COUNT_CHANGED EggCountChangedEvent
    iconAnimHandler: PokemonIconAnimHelper

    handles jumping animations for the pokemon sprite icons

    hatch info container that displays the current pokemon / hatch (main element on left hand side)

    message: Text
    mode: number | null
    onActionInput: AnyFn | null
    pendingPrompt: boolean
    pokemonContainers: HatchedPokemonContainer[]

    list of the containers added to pokemonIconsContainer for easier access

    pokemonIconsContainer: Container

    container for the each pokemon sprites and icons

    prompt: Sprite
    scrollGridHandler: ScrollableGridHelper
    summaryContainer: Container

    holds the icon containers and info container

    textCallbackTimer: TimerEvent | null
    textTimer: TimerEvent | null
    tutorialActive: boolean = false
    tutorialOverlay: Rectangle

    Methods

    • Parameters

      • text: string
      • Optional_name: 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