/// <summary>
 ///
 /// </summary>
 /// <param name="train"></param>
 /// <param name="rr"></param>
 /// <returns></returns>
 public override JunctionRoute onJunction(Train train, JunctionRailRoad rr)
 {
     return(JunctionRoute.Straight);
 }
示例#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));
 }
示例#3
0
 /// <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);