int efficiencyModifier = 0;
Iterator propertyEditor = getPropertiesIterator();
while (propertyEditor.hasNext()) {
Property property = (Property) propertyEditor.next();
if (property instanceof ModifyEfficiency) {
ModifyEfficiency increaseEfficiency = (ModifyEfficiency) property;
efficiencyModifier = efficiencyModifier + increaseEfficiency.getModifier();
}
}
return efficiencyModifier;
}