Unciv/core
Oskar Niesen 10f3781e6f
ThreatManager improvement (#11030)
* Reworked ThreatManager to be optimised for getTilesWithEnemyUnitsInDistance

* Refactored and added an exception

* doesTileHaveMilitaryEnemy now searches all military units on the tile and not just the unit in the military slot

* Fixed some errors

* Refactored getTilesWithEnemyUnitsInDistance to use a mutableIterator

* Added some more comments
2024-02-05 23:53:34 +02:00
..
src/com/unciv ThreatManager improvement (#11030) 2024-02-05 23:53:34 +02:00
build.gradle.kts Gradle 8.2, remove all IOS references due to robovm bug (which we don't use) 2024-01-28 12:35:29 +02:00