Region

class Region(tileMap: TileMap, rect: Rectangle, continentID: Int)

Functions

countTerrains
Link copied to clipboard
fun countTerrains()

Counts the terrains in the Region for type and start determination

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getTerrainAmount
Link copied to clipboard
fun getTerrainAmount(name: String): Int

Returns number terrains with name

hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String
updateTiles
Link copied to clipboard
fun updateTiles(trim: Boolean = true)

Recalculates tiles and fertility

Properties

affectedByWorldWrap
Link copied to clipboard
var affectedByWorldWrap: Boolean = false
assignedMinorCivs
Link copied to clipboard
val assignedMinorCivs: ArrayList<CivilizationInfo>
continentID
Link copied to clipboard
val continentID: Int
luxury
Link copied to clipboard
var luxury: String? = null
rect
Link copied to clipboard
val rect: Rectangle
startPosition
Link copied to clipboard
var startPosition: Vector2? = null
terrainCounts
Link copied to clipboard
val terrainCounts: HashMap<String, Int>
tileMap
Link copied to clipboard
val tileMap: TileMap
tiles
Link copied to clipboard
val tiles: HashSet<TileInfo>
totalFertility
Link copied to clipboard
var totalFertility: Int = 0
type
Link copied to clipboard
var type: String

Sources

jvm source
Link copied to clipboard