public bool IsPartTypeDestroyed(EShipPartType a_type)
{
bool partActive = false;
foreach (ShipPart part in destructableParts)
{
// If any part is still around, return true
if (part.partType == a_type && !IsPartDestroyed(part))
{
partActive = true;
}
}
return !partActive;
}