EnumGrowthConditions result = EnumGrowthConditions.HOSTILE;
for (EnumGrowthConditions cond : conditions) {
if (cond == EnumGrowthConditions.HOSTILE)
return EnumGrowthConditions.HOSTILE;
if (cond.ordinal() > result.ordinal())
result = cond;
}
return result;
}