Open Rails

MSTSElectricLocomotive.Copy Method

[This is preliminary documentation and subject to change.]

This initializer is called when we are making a new copy of a car already loaded in memory. We use this one to speed up loading by eliminating the need to parse the wag file multiple times. NOTE: you must initialize all the same variables as you parsed above

public override void Copy(
   MSTSWagon copy
);

See Also

MSTSElectricLocomotive Class | ORTS Namespace