/// <summary> /// We are restoring a saved game. The TrainCar class has already /// been initialized. Restore the game state. /// </summary> public override void Restore(BinaryReader inf) { PowerSupply.Restore(inf); base.Restore(inf); }
/// <summary> /// We are restoring a saved game. The TrainCar class has already /// been initialized. Restore the game state. /// </summary> public override void Restore(BinaryReader inf) { PowerSupply.Restore(inf); CurrentLocomotiveSteamHeatBoilerWaterCapacityL = inf.ReadSingle(); base.Restore(inf); }