Пример #1
0
 internal void HandleRailcarPass(SharedRailcar railCar)
 {
     if (OnRailcarPass != null)
     {
         OnRailcarPass.Invoke(railCar);
     }
 }
Пример #2
0
 private bool IsRearCar(SharedRailcar car)
 {
     return(Railcars[Railcars.Count - 1] == car);
 }
Пример #3
0
 private bool IsFrontCar(SharedRailcar car)
 {
     return(Railcars[0] == car);
 }