addCharger

fun addCharger(locationName: String)(source)

Declares a place in the layout as a charger.

Checked against the layout now rather than when a vehicle is sent there, so a misspelled charger fails at build time instead of stranding a vehicle several thousand simulated minutes into a run.