Exemplo n.º 1
0
        public void AddRoute(Track track)
        {
            Town fromTown = AddOrGetTown(track.From);
            Town toTown   = AddOrGetTown(track.To);

            fromTown.AddNeighbor(toTown, track.Distance);
        }