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

    active: boolean = false
    cursor: number = 0
    cursor0: number
    cursor1: number
    enemyModifiers: ModifierBar
    fieldIndex: number
    isMultipleTargets: boolean = false
    mode: null | number
    move: MoveId
    targetBattleInfoMoveTween: Tween[] = []
    targetFlashTween: null | Tween
    targets: BattlerIndex[]
    targetSelectCallback: TargetSelectCallback
    targetsHighlighted: Pokemon[]

    Methods

    • Determines what value to assign the main cursor based on the previous turn's target or the user's status

      Parameters

      • cursorN: number

        the cursor associated with the user's field index

      • user: Pokemon

        the Pokemon using the move

      Returns void