AlertPopup
Popup communicating events other than trade offers to the player. (e.g. First Contact, Wonder built, Tech researched,...)
Called in WorldScreen.update, which pulls them from viewingCiv.popupAlerts.
See also
Parameters
The parent screen
The PopupAlert entry to present
Constructors
Functions
Adds a TextButton and ends the current row.
Adds an inline TextButton.
Adds a TextButton that closes the popup, with BACK already mapped.
Adds a TextButton that can close the popup, with RETURN already mapped.
The last two additions must be buttons. Make their width equal by setting minWidth of one cell to actor width of the other.
Subroutine for open handles only visibility and keyPressDispatcher
Properties
Sets or retrieves the Actor that currently has keyboard focus.
The KeyPressDispatcher for the popup - Key handlers from the parent screen are inactive while the popup is active through the hasOpenPopups mechanism.