Figure 8: The modified behavior of the Car-Source (now also a Train-Source) creates new cars/trains depending on whether a road or a train track is next to it.

Back to Article
Copyright © 1999, Dr. Dobb's Journal