PokéRogue
    Preparing search index...

    Class ModalUiHandlerAbstract

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

    Hierarchy (View Summary)

    Index
    active: boolean = false
    buttonBgs: NineSlice[] = []
    buttonContainers: Container[] = []
    buttonLabels: Text[] = []
    cursor: number = 0
    modalBg: NineSlice
    modalContainer: Container
    titleText: Text
    • Adds a hover effect to a game object which changes the cursor to a pointer and tints it slighly

      Parameters

      • gameObject: Sprite | NineSlice | Image

        the game object to add hover events/effects to

      Returns void