Package com.unciv.ui.newgamescreen

Types

GameOptionsTable
Link copied to clipboard
class GameOptionsTable(previousScreen: IPreviousScreen, isPortrait: Boolean, updatePlayerPickerTable: (desiredCiv: String) -> Unit) : Table
IPreviousScreen
Link copied to clipboard
interface IPreviousScreen

Interface to implement for all screens using GameOptionsTable and PlayerPickerTable for universal usage of those two tables.

MapOptionsTable
Link copied to clipboard
class MapOptionsTable(newGameScreen: NewGameScreen) : Table
MapParametersTable
Link copied to clipboard
class MapParametersTable(mapParameters: MapParameters, isEmptyMapAllowed: Boolean) : Table

Table for editing mapParameters

ModCheckboxTable
Link copied to clipboard
class ModCheckboxTable(mods: LinkedHashSet<String>, baseRuleset: String, screen: BaseScreen, isPortrait: Boolean, onUpdate: (String) -> Unit) : Table
NationPickerPopup
Link copied to clipboard
private class NationPickerPopup(playerPicker: PlayerPickerTable, player: Player) : Popup
NationTable
Link copied to clipboard
class NationTable(nation: Nation, width: Float, minHeight: Float, ruleset: Ruleset?) : Table
NewGameScreen
Link copied to clipboard
class NewGameScreen(previousScreen: BaseScreen, _gameSetupInfo: GameSetupInfo?) : PickerScreen, IPreviousScreen
PlayerPickerTable
Link copied to clipboard
class PlayerPickerTable(previousScreen: IPreviousScreen, gameParameters: GameParameters, blockWidth: Float) : Table

This Table is used to pick or edit players information for new game creation. Could be inserted to NewGameScreen, GameParametersScreen or any other Screen which provides GameSetupInfo and Ruleset. Upon player changes updates property gameParameters. Also updates available nations when mod changes. In case it is used in map editor, as a part of GameParametersScreen, additionally tries to update units/starting location on the previousScreen when player deleted or switched nation.

TranslatedSelectBox
Link copied to clipboard
class TranslatedSelectBox(values: Collection<String>, default: String, skin: Skin) : SelectBox<TranslatedSelectBox.TranslatedString>