class Railroad : Building
| Railroad(cityMap: CityMap) | 
| var borderColor: ColorDefault border color, used for rendering | |
| var description: String?Extended description of this building | |
| var height: IntHeight in BlockCoordinate of the building | |
| var width: IntWidth in BlockCoordinate of the building | 
| open val cityMap: CityMap | |
| open val consumes: MutableMap<Tradeable, Int>A list of Tradeable (with quantities) that this building consumes | |
| open val contracts: MutableList<Contract> | |
| var goodwill: Int | |
| open var happiness: IntHow happy the building is. This can be positive or negative. | |
| open val inventory: Inventory | |
| var level: Int | |
| open var name: String?Friendly name (eg. "Slummy apartment") of building | |
| open var pollution: DoubleHow much pollution this building generates... | |
| open val powerRequired: IntHow many units of power this building needs to be happy | |
| var powered: Booleantrue if we have power, false if not | |
| open val produces: MutableMap<Tradeable, Int> | |
| open var sprite: String?Filename of sprite asset used to paint this building (I guess maybe this should live in renderer?) | |
| open var upkeep: IntEventually, how much $$$ is required to keep this building going. Probably going to be used for civic buildings like town hall. | |
| val uuid: StringUnique ID of building | |
| open val variety: String?Used for things like PowerPlant so we know what it is (coal/nuclear) | |
| var zots: List<Zot>List of Zot that this building suffers from. Populated by... ZotPopulator | 
| fun createContract(otherTradeEntity: TradeEntity, tradeable: Tradeable, quantity: Int, path: Path?): Unit | |
| open fun equals(other: Any?): Boolean | |
| fun payWorkers(): Unit | |
| open fun toString(): String | |
| fun zone(): Zone? |