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