Unciv/core/src/com/unciv
Oskar Niesen 8b27de26d5
Declare War Reason (#11490)
* Created DeclareWarReason enum

* Created a new notifyOfWar function and a DeclareWarReason class

* moved handleCityStateDirectAttack to it's own function

* Moved changing modifiers to its own function

* Moved notifyOfWar above onWarDeclared

* Fixed defensive pact canceling notifications

* Added more comments

* Fixed DiplomacyManagerTests

* Warmongering does not stack with defensive pacts

* Reworked how shared enemy modifiers are given out

* Fixed JoinWar notifications

* Added join war translations

* Added missing defensive pact translations

* Fixed translation parameter problems

* Changed "canceled" to "cancelled"
2024-04-24 00:01:26 +03:00
..
json Type declaration colon blanks linting (#11216) 2024-02-28 23:46:21 +02:00
logic Declare War Reason (#11490) 2024-04-24 00:01:26 +03:00
models Multi-filter improve code clarity and more unit tests (#11503) 2024-04-24 00:00:40 +03:00
ui Multi-filter improve code clarity and more unit tests (#11503) 2024-04-24 00:00:40 +03:00
utils
Constants.kt External links: Right-click and some housecleaning (#11155) 2024-02-20 23:24:54 +02:00
GUI.kt
UncivGame.kt AutoPlayEndTurn can run on a different thread (#11329) 2024-04-23 23:59:02 +03:00