Route - a sequence of N tracks and N-1 switches between them.
Route has a reference to the train that created that route. The route only exists while the train is handled by the TrainMoveTo object.
The track where the head of the train was located in the beginning of movement has index 0. The target track has index N-1.
int size() - Returns the number of tracks in the route, minimum 1. Note that the number of switches in the number of tracks-1.
getSwitch( int i ) - Returns the switch with the
Parameter: i - the index of the switch: 0 .. size()-2
getTrack( int i ) - Returns the track with the
Parameter: i - the index of the track: 0 .. size()-1