CityExpansionManager

class CityExpansionManager

Functions

addNewTileWithCulture
Link copied to clipboard
private fun addNewTileWithCulture(): Vector2?
buyTile
Link copied to clipboard
fun buyTile(tileInfo: TileInfo)
chooseNewTileToOwn
Link copied to clipboard
fun chooseNewTileToOwn(): TileInfo?
clone
Link copied to clipboard
fun clone(): CityExpansionManager
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getCultureToNextTile
Link copied to clipboard
fun getCultureToNextTile(): Int
getGoldCostOfTile
Link copied to clipboard
fun getGoldCostOfTile(tileInfo: TileInfo): Int
hashCode
Link copied to clipboard
open fun hashCode(): Int
nextTurn
Link copied to clipboard
fun nextTurn(culture: Float)
relinquishOwnership
Link copied to clipboard
fun relinquishOwnership(tileInfo: TileInfo)

Removes one tile from this city's owned tiles, unconditionally, and updates dependent things like worked tiles, locked tiles, and stats.

reset
Link copied to clipboard
fun reset()
setTransients
Link copied to clipboard
fun setTransients()
takeOwnership
Link copied to clipboard
fun takeOwnership(tileInfo: TileInfo)

Takes one tile into possession of this city, either unowned or owned by any other city.

tilesClaimed
Link copied to clipboard
fun tilesClaimed(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

cityInfo
Link copied to clipboard
lateinit var cityInfo: CityInfo
cultureStored
Link copied to clipboard
var cultureStored: Int = 0

Sources

jvm source
Link copied to clipboard