/// <summary>
 ///
 /// </summary>
 /// <param name="train"></param>
 /// <param name="rr"></param>
 /// <returns></returns>
 public override JunctionRoute onJunction(Train train, JunctionRailRoad rr)
 {
     return(JunctionRoute.Straight);
 }
Exemple #2
0
 /// <summary>
 ///
 ///
 /// </summary>
 /// <param name="train"></param>
 /// <param name="rr"></param>
 /// <returns></returns>
 public override JunctionRoute onJunction(Train train, JunctionRailRoad rr)
 {
     return(findController(train).onJunction(train, rr));
 }
 /// <summary>
 /// At junction, this method is called to determine
 /// the direction to which a train proceeds.
 /// </summary>
 public abstract JunctionRoute onJunction(Train train, JunctionRailRoad railRoad);