PrivateallowProtectedbuttonProtectedbuttonProtectedbuttonProtectedcursorPrivateheightPrivatelabelProtectedmodalProtectedmodalProtectedmodePrivateoverlayProtectedtitlePrivatewidthProtectedaddAdds a hover effect to a game object which changes the cursor to a pointer and tints it slighly
the game object to add hover events/effects to
To be implemented by individual handlers when necessary to free memory Called when BattleScene is reset
ProtectedsetChanges the style of the mouse cursor.
cursor style to apply
Show the alert modal with the specified message.
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.
Optionalconfig: ModalConfig
A basic abstract class to act as a holder and processor for UI elements.