TileMap

fun TileMap()

for json parsing, we need to have a default constructor

fun TileMap(radius: Int, ruleset: Ruleset, worldWrap: Boolean = false)

creates a hexagonal map of given radius (filled with grassland)

fun TileMap(width: Int, height: Int, ruleset: Ruleset, worldWrap: Boolean = false)

creates a rectangular map of given width and height (filled with grassland)