kotcity4 / kotcity.data / BMPImporter

BMPImporter

class BMPImporter

Constructors

<init>

BMPImporter()

Functions

load

fun load(imagePath: String): CityMap?

Generates a map by loading the bitmap image file at the provided path and using the color value of each pixel for determining the terrain elevation.