private float GetCostUsed(Technology whichTech, bool useSecondary)
 {
     Equipment equipment = new Equipment(whichTech, useSecondary);
     return equipment.GetCost(_techLevels, _shipDesign.Size) + equipment.GetPower(_shipDesign.Size) * _costPerPower;
 }