public int getAttackCapabilities() { int sum = 0; for (Arm arm : attackArms.keySet()) { sum += arm.getCapability() * attackArms.get(arm); } return sum; }
public int getConquerCapabilities() { int sum = 0; for (Arm arm : conquerArms.keySet()) { sum += arm.getCapability() * conquerArms.get(arm); } return sum; }