public void CloneProperties(VehicleEngine vehicleEngine)
 {
     this.volume       = vehicleEngine.volume;
     this.modification = vehicleEngine.modification;
     this.power        = vehicleEngine.power;
     this.modelCode    = vehicleEngine.modelCode;
     this.releaseStart = vehicleEngine.releaseStart;
     this.releaseEnd   = vehicleEngine.releaseEnd;
 }
Example #2
0
 public VehicleEngine(VehicleModification vehicleModification, VehicleEngine vehicleEngine)
 {
     this.VehicleModification = vehicleModification;
     this.volume       = vehicleEngine.volume;
     this.modification = vehicleEngine.modification;
     this.power        = vehicleEngine.power;
     this.modelCode    = vehicleEngine.modelCode;
     this.releaseStart = vehicleEngine.releaseStart;
     this.releaseEnd   = vehicleEngine.releaseEnd;
 }