Added the notification for the third-party civilizations (#1558)

* Added the notification for the third-party civilizations

If a civilizations knows about some two civilizations, it will be notified when:
* They declare the war
* They make a peace
* They sign the declaration of peace
* One denounce the other

Additionally, when civ enters a new era, all civs that know about it get a notification

* Fixed the translation `.properties`

* Cleanup

* Fix: 2 notifications for each peace treaty

Russia and America...
America and Russia...

* Typo

* Code style changes

* Resolved conflicts

* Simple getCommonKnownCivs() tests
This commit is contained in:
lyrjie
2019-12-30 19:12:14 +03:00
committed by Yair Morgenstern
parent 2132c49d55
commit cedb6ff5e3
23 changed files with 331 additions and 12 deletions

View File

@ -158,6 +158,7 @@ project(":core") {
testImplementation 'junit:junit:4.12'
testImplementation "org.mockito:mockito-all:1.9.5"
testImplementation "io.mockk:mockk:1.9.3"
testImplementation "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion"
testImplementation "com.badlogicgames.gdx:gdx:$gdxVersion"