Exemple #1
0
 public BuildListItem FromBuildListVessel(KCT_BuildListVessel blv)
 {
     this.progress   = blv.progress;
     this.buildTime  = blv.buildPoints;
     this.launchSite = blv.launchSite;
     this.flag       = blv.flag;
     //this.shipURL = blv.shipURL;
     this.shipName          = blv.shipName;
     this.InventoryParts    = KCT_Utilities.PartDictToList(blv.InventoryParts);
     this.shipID            = blv.id.ToString();
     this.cannotEarnScience = blv.cannotEarnScience;
     this.cost        = blv.cost;
     this.mass        = blv.TotalMass;
     this.kscDistance = blv.DistanceFromKSC;
     return(this);
 }