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

    abilityContainer: abilityContainer

    Object holding everything needed to display an ability

    abilityPrompt: Image

    The pixel button prompt indicating a passive is unlocked

    active: boolean = false
    candyCountText: Text
    candyIcon: Sprite
    candyOverlay: Sprite
    candyShadow: Sprite
    championRibbon: Image
    cursor: number = 0
    descriptionScrollTween: Tween | null
    extraMoveRowContainer: Container
    friendshipIcon: Sprite
    friendshipOverlay: Sprite
    friendshipShadow: Sprite
    friendshipText: Text
    fusionShinyIcon: Image
    genderText: Text
    ivContainer: Container
    levelText: Text
    mode: number | null
    moveAccuracyText: Text
    moveCategoryIcon: Sprite
    moveCursor: number
    moveCursorBlinkTimer: TimerEvent | null
    moveCursorObj: Sprite | null
    moveDescriptionText: Text
    moveEffectContainer: Container
    moveEffectContainerTitle: Image
    moveEffectsVisible: boolean
    movePowerText: Text
    moveRowsContainer: Container
    movesContainer: Container
    movesContainerDescriptionsTitle: Image
    movesContainerMovesTitle: Image
    moveSelect: boolean
    moveSelectFunction: ((cursor: number) => void) | null
    nameText: Text
    newMove: Move | null

    This is set to false when checking the summary of a freshly caught Pokemon as it is not part of a player's party yet but still needs to display its items

    numberText: Text
    passiveContainer: abilityContainer

    Object holding everything needed to display a passive

    permStatsContainer: Container
    playerParty: boolean
    pokeball: Sprite
    pokemon: PlayerPokemon | null
    pokemonSprite: Sprite
    selectCallback: ((cursor: number) => void) | null
    selectedMoveCursorObj: Sprite | null
    selectedMoveIndex: number
    shinyIcon: Image
    shinyOverlay: Image
    splicedIcon: Sprite
    statsContainer: Container
    statsContainerExpBarTitle: Image
    statsContainerExpTitle: Image
    statsContainerItemTitle: Image
    statsContainerStatsTitle: Image
    status: Image
    statusContainer: Container
    statusVisible: boolean
    summaryContainer: Container
    summaryContainerDexNoLabel: Image
    summaryPageContainer: Container
    summaryPageTransitionContainer: Container
    summaryUiMode: SummaryUiMode
    tabSprite: Sprite
    transitioning: boolean

    Methods

    • Parameters

      • args: [
            pokemon: PlayerPokemon,
            uiMode?: DEFAULT,
            startPage?: Page,
            selectCallback?: (cursor: number) => void,
            player?: boolean,
        ]

      Returns boolean

    • Parameters

      • args: [
            pokemon: PlayerPokemon,
            uiMode: LEARN_MOVE,
            move?: Move,
            moveSelectCallback?: (cursor: number) => void,
            player?: boolean,
        ]

      Returns boolean