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