data class Location
Represents a pair of a building and its location in the city.
coordinate
- (top left) coordinate of building
building
- building we are referring to
Location(cityMap: CityMap, coordinate: BlockCoordinate, building: Building)
Represents a pair of a building and its location in the city. |
val building: Building
building we are referring to |
|
val cityMap: CityMap
map to use |
|
val coordinate: BlockCoordinate
(top left) coordinate of building |
fun blocks(): List<BlockCoordinate>
Returns the "footprint" of the building in BlockCoordinates |