zonesToEnter

fun zonesToEnter(location: String): Int?(source)

How many zones it still has to enter to reach the location. This tells apart vehicles at the same distance: the one with fewer is in front of the other.

Return

null on a substrate with no zones, such as a free path, or when the location can't be reached