setTransients

fun setTransients(ruleset: Ruleset? = null, setUnitCivTransients: Boolean = true)

Initialize transients - without, most operations, like get from coordinates, will fail.

Parameters

ruleset

Required unless this is a clone of an initialized TileMap including one

setUnitCivTransients

when false Civ-specific parts of unit initialization are skipped, for the map editor.

Sources

jvm source
Link copied to clipboard