Package com.unciv.logic.map

Types

BFS
Link copied to clipboard
class BFS(startingPoint: TileInfo, predicate: (TileInfo) -> Boolean)

Defines intermediate steps of a breadth-first search, for use in either get shortest path or get connected tiles.

MapParameters
Link copied to clipboard
class MapParameters
MapResources
Link copied to clipboard
object MapResources
MapShape
Link copied to clipboard
object MapShape
MapSize
Link copied to clipboard
enum MapSize(radius: Int, width: Int, height: Int) : Enum<MapSize>
MapSizeNew
Link copied to clipboard
class MapSizeNew
MapType
Link copied to clipboard
object MapType
MapUnit
Link copied to clipboard
class MapUnit

The immutable properties and mutable game state of an individual unit present on the map

Perlin
Link copied to clipboard
object Perlin
RoadStatus
Link copied to clipboard
enum RoadStatus(upkeep: Int, movement: Float, movementImproved: Float, removeAction: String?) : Enum<RoadStatus>

You can use RoadStatus.name to identify Road and Railroad in string-based identification, as done in improvement.

TileInfo
Link copied to clipboard
open class TileInfo
TileMap
Link copied to clipboard
class TileMap

An Unciv map with all properties as produced by the map editor or MapGenerator; or as part of a running game.

UnitMovementAlgorithms
Link copied to clipboard
class UnitMovementAlgorithms(unit: MapUnit)
UnitPromotions
Link copied to clipboard
class UnitPromotions