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
    allowClosing: boolean = false
    buttonBgs: NineSlice[]
    buttonContainers: Container[]
    buttonLabels: Text[]
    cursor: number = 0
    height: number = 32
    label: Text
    modalBg: NineSlice
    modalContainer: Container
    mode: number | null
    overlay: Rectangle
    titleText: Text
    width: number = 250

    Methods

    • Show the alert modal with the specified message.

      Parameters

      • args: [message: string, closeDelay?: number]


        message: The message that will be displayed in the alert box.
        closeDelay: Optional delay before allowing the user to close the modal. If not provided, the alert will be unclosable.

      Returns boolean