Esempio n. 1
0
File: Host.cs Progetto: s520/OpenBVE
 public override void ProcessJump(AbstractTrain Train, int StationIndex)
 {
     ObjectManager.ProcessJump(Train);
     if (Train.IsPlayerTrain)
     {
         if (Game.CurrentScore.ArrivalStation <= StationIndex)
         {
             Game.CurrentScore.ArrivalStation = StationIndex + 1;
         }
         Game.CurrentScore.DepartureStation = StationIndex;
         Program.Renderer.CurrentInterface  = InterfaceType.Normal;
         Program.TrainManager.UnderailTrains();
     }
 }