A basic abstract class to act as a holder and processor for UI elements.

Hierarchy (view full)

Constructors

Properties

active: boolean = false
cursor: number = 0
mode: null | number

Methods

  • To be implemented by individual handlers when necessary to free memory Called when BattleScene is reset

    Returns void

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

      the Pokemon using the move

    Returns void