EditMultiplayerGameInfoScreen
Subscreen of MultiplayerScreen to edit and delete saves backScreen is used for getting back to the MultiplayerScreen so it doesn't have to be created over and over again
Constructors
Functions
Sets the text of the rightSideButton and enables it if it's the player's turn
Remove listeners from rightSideButton to prepare giving it a new onClick
Helper function to decrease indentation Turns the current playerCiv into an AI civ and uploads the game afterwards.
Initializes the Close button's action (and the Back/ESC handler) to return to the previousScreen if specified, or else to the world screen.
Enables the rightSideButton. See pick for a way to set the text.
Properties
Holds the Close button, a description label and an action button
The close button on the lower left of bottomTable, see setDefaultCloseAction
A scrollable wrapped Label you can use to show descriptions in the bottomTable, starts empty
A button on the lower right of bottomTable you can use for a "OK"-type action, starts disabled
A wrapper containing rightSideButton. You can add buttons, they will be arranged vertically
A ScrollPane scrolling topTable, disabled by the disableScroll parameter
A fixed SplitPane holds scrollPane and bottomTable