00001 void book2Ship::setcostNew(double c){ 00002 costNew = c; 00003 } 00004 double book2Ship::getcostNew(){ 00005 return costNew; 00006 } 00007 void book2Ship::settonnage(double t){ 00008 tonnage = t; 00009 } 00010 double book2Ship::gettonnage(){ 00011 return tonnage; 00012 } 00013 void book2Ship::setmainTonnage(double m){ 00014 mainTonnage = m; 00015 } 00016 double book2Ship::getmainTonnage(){ 00017 return mainTonnage; 00018 } 00019 void book2Ship::setdriveTonnage(double d){ 00020 driveTonnage = d; 00021 } 00022 double book2Ship::getdriveTonnage(){ 00023 return driveTonnage; 00024 } 00025 void book2Ship::sethulltype(typeHull h){ 00026 hulltype = h; 00027 } 00028 typeHull book2Ship::gethulltype(){ 00029 return hulltype; 00030 } 00031 void book2Ship::setstreamlined(int s){ 00032 streamlined = s; 00033 } 00034 int book2Ship::getstreamlined(){ 00035 return streamlined; 00036 } 00037 void book2Ship::setmaxAtmosphere(int m){ 00038 maxAtmosphere = m; 00039 } 00040 int book2Ship::getmaxAtmosphere(){ 00041 return maxAtmosphere; 00042 } 00043 void book2Ship::setaccel(int a){ 00044 accel = a; 00045 } 00046 int book2Ship::getaccel(){ 00047 return accel; 00048 } 00049 void book2Ship::setjump(int j){ 00050 jump = j; 00051 } 00052 int book2Ship::getjump(){ 00053 return jump; 00054 } 00055 void book2Ship::setpowerPlant(int p){ 00056 powerPlant = p; 00057 } 00058 int book2Ship::getpowerPlant(){ 00059 return powerPlant; 00060 } 00061 void book2Ship::setcargo(double c){ 00062 cargo = c; 00063 } 00064 double book2Ship::getcargo(){ 00065 return cargo; 00066 } 00067 void book2Ship::setstaterooms(int s){ 00068 staterooms = s; 00069 } 00070 int book2Ship::getstaterooms(){ 00071 return staterooms; 00072 } 00073 void book2Ship::setlowBerths(int l){ 00074 lowBerths = l; 00075 } 00076 int book2Ship::getlowBerths(){ 00077 return lowBerths; 00078 } 00079 void book2Ship::setfullCrew(int f){ 00080 fullCrew = f; 00081 } 00082 int book2Ship::getfullCrew(){ 00083 return fullCrew; 00084 } 00085 void book2Ship::setminCrew(int m){ 00086 minCrew = m; 00087 } 00088 int book2Ship::getminCrew(){ 00089 return minCrew; 00090 } 00091 void book2Ship::setComputerModel();(char * m){ 00092 computer.model = m; 00093 } 00094 char * book2Ship::getComputerModel();(){ 00095 return computer.model; 00096 } 00097 void book2Ship::setComputerCpu();(int c){ 00098 computer.cpu = c; 00099 } 00100 int book2Ship::getComputerCpu();(){ 00101 return computer.cpu; 00102 } 00103 void book2Ship::setComputerStorage();(int s){ 00104 computer.storage = s; 00105 } 00106 int book2Ship::getComputerStorage();(){ 00107 return computer.storage; 00108 } 00109 void book2Ship::setComputerMass();(double m){ 00110 computer.mass = m; 00111 } 00112 double book2Ship::getComputerMass();(){ 00113 return computer.mass; 00114 } 00115 void book2Ship::setComputerValue();(double v){ 00116 computer.value = v; 00117 } 00118 double book2Ship::getComputerValue();(){ 00119 return computer.value; 00120 } 00121 void book2Ship::setCostListHull();(double h){ 00122 costList.hull = h; 00123 } 00124 double book2Ship::getCostListHull();(){ 00125 return costList.hull; 00126 } 00127 void book2Ship::setCostListComputer();(double c){ 00128 costList.computer = c; 00129 } 00130 double book2Ship::getCostListComputer();(){ 00131 return costList.computer; 00132 } 00133 void book2Ship::setCostListJump();(double j){ 00134 costList.jump = j; 00135 } 00136 double book2Ship::getCostListJump();(){ 00137 return costList.jump; 00138 } 00139 void book2Ship::setCostListManuever();(double m){ 00140 costList.manuever = m; 00141 } 00142 double book2Ship::getCostListManuever();(){ 00143 return costList.manuever; 00144 } 00145 void book2Ship::setCostListPplant();(double p){ 00146 costList.pplant = p; 00147 } 00148 double book2Ship::getCostListPplant();(){ 00149 return costList.pplant; 00150 } 00151 void book2Ship::setCostListTurrets();(double t){ 00152 costList.turrets = t; 00153 } 00154 double book2Ship::getCostListTurrets();(){ 00155 return costList.turrets; 00156 } 00157 void book2Ship::setCostListWeapons();(double w){ 00158 costList.weapons = w; 00159 } 00160 double book2Ship::getCostListWeapons();(){ 00161 return costList.weapons; 00162 } 00163 void book2Ship::setCostListStaterooms();(double s){ 00164 costList.staterooms = s; 00165 } 00166 double book2Ship::getCostListStaterooms();(){ 00167 return costList.staterooms; 00168 } 00169 void book2Ship::setCostListLowberths();(double l){ 00170 costList.lowberths = l; 00171 } 00172 double book2Ship::getCostListLowberths();(){ 00173 return costList.lowberths; 00174 } 00175 void book2Ship::setCostListEmergencylowberths();(double e){ 00176 costList.emergencylowberths = e; 00177 } 00178 double book2Ship::getCostListEmergencylowberths();(){ 00179 return costList.emergencylowberths; 00180 } 00181 void book2Ship::setCostListSmallcraft_cabins();(double s){ 00182 costList.smallcraft_cabins = s; 00183 } 00184 double book2Ship::getCostListSmallcraft_cabins();(){ 00185 return costList.smallcraft_cabins; 00186 } 00187 void book2Ship::setCostListSmallcraft_couches();(double s){ 00188 costList.smallcraft_couches = s; 00189 } 00190 double book2Ship::getCostListSmallcraft_couches();(){ 00191 return costList.smallcraft_couches; 00192 } 00193 void book2Ship::setCostListVehicles();(double v){ 00194 costList.vehicles = v; 00195 } 00196 double book2Ship::getCostListVehicles();(){ 00197 return costList.vehicles; 00198 }