kotcity4 / kotcity.data / Building / classByString

classByString

fun classByString(name: String?): KClass<out Building>?

Used by the CityFileAdapter to help turn the names in the datafiles to the actual classes.

Parameters

name - name of Building