Changed icons to the new and non-suable version!

This commit is contained in:
Yair Morgenstern 2018-08-27 14:35:49 +03:00
parent e078590933
commit 4932c627aa
7 changed files with 2 additions and 7 deletions

View file

@ -6,7 +6,7 @@
<application
android:allowBackup="true"
android:icon="@drawable/uncivicon"
android:icon="@drawable/uncivicon2"
android:label="@string/app_name"
android:theme="@style/GdxTheme" >
<activity

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB

View file

@ -49,7 +49,6 @@ class CityExpansionManager {
for(tile in cityInfo.tiles.map { cityInfo.tileMap[it] })
relinquishOwnership(tile)
// cityInfo.tiles.clear() // this should be deleted after we change systems
cityInfo.getCenterTile().getTilesInDistance(1).forEach { takeOwnership(it) }
}
@ -69,13 +68,9 @@ class CityExpansionManager {
tileInfo.owningCity=null
}
fun takeOwnership(tileInfo: TileInfo){
private fun takeOwnership(tileInfo: TileInfo){
if(tileInfo.getCity()!=null) tileInfo.getCity()!!.expansion.relinquishOwnership(tileInfo)
// this shuold be deleted ater we move to the new caching system
// for(city in cityInfo.civInfo.gameInfo.civilizations.flatMap { it.cities }) // Remove this tile from any other cities - should stop SO many problems!
// cityInfo.tiles.remove(tileInfo.position)
cityInfo.tiles.add(tileInfo.position)
tileInfo.owningCity = cityInfo
cityInfo.population.autoAssignPopulation()