* Adding units to map editor.
* loadScenario checkbox Prototype added to MapOptions table.
* adds switch for Scenario and Unit editor debug
* New Scenario class
* Background step1:
1. Create a new class Scenario, containing TileMap, GameParameters and string name (doesn't really matter where, we can move it around later)
2. Create SaveScenario and LoadScenario functions in MapSaver (save to/ load from scenario name)
* Prototype of Save/Load scenario implementation.
* Add update method to NewGameOptionsTable
* First working Save/Load scenario prototype
* First working prototype of Load/Save scenario
* Added test conditions for the new debug modes
* Resolve merge conflict
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
* Use keyDown instead of keyTyped to handle arrow keys
* Rename getIconAnKeyForUnitAction to getIconAndKeyForUnitAction
Remove unnecessary dependencies in UnitActionsTable.kt
* Use backButtonAndESCHandler to deselect unit and city
* Fix padding for headers in construction menu
* Sync width of queue and available construction tables
* Left align "Add to queue" button to prevent jumping
* Remove duplicate separator and padding
* Improve design of CityInfoTable
* Fix padding for headers in construction menu
* Sync width of queue and available construction tables
* Left align "Add to queue" button to prevent jumping
* Remove duplicate separator and padding
* Improve design of CityInfoTable
* Exits simulation mode (simulateUntilTurnForDebug) when player wins or losses.
* Update core/src/com/unciv/logic/GameInfo.kt
Co-authored-by: AcridBrimistic <acridbrimistic@protonmail.com>
* Update core/src/com/unciv/UncivGame.kt
Co-authored-by: AcridBrimistic <acridbrimistic@protonmail.com>
* Update core/src/com/unciv/logic/GameInfo.kt
Co-authored-by: AcridBrimistic <acridbrimistic@protonmail.com>
* New parameter for simulation until any of player wins or loses or maximum turns reached.
Added battle logging flag.
Co-authored-by: AcridBrimistic <acridbrimistic@protonmail.com>