Open Rails

MSTSLocomotive Class

[This is preliminary documentation and subject to change.]

Adds Throttle, Direction, Horn, Sander and Wiper control to the basic TrainCar. Use as a base for Electric, Diesel or Steam locomotives.

For a list of all members of this type, see MSTSLocomotive Members .

System.Object
   TrainCar
      MSTSWagon
         MSTSLocomotive
            MSTSDieselLocomotive
            MSTSElectricLocomotive
            MSTSSteamLocomotive

public class MSTSLocomotive : MSTSWagon

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: ORTS

Assembly: RunActivity (in RunActivity.exe)

See Also

MSTSLocomotive Members | ORTS Namespace