private static class BlacksmithEngine.WeaponAvailabilityComparator extends Object implements Comparator<ch.sahits.game.openpatrician.model.weapon.EWeapon>
| Modifier and Type | Field and Description |
|---|---|
private ch.sahits.game.openpatrician.model.weapon.IArmory |
armory |
| Constructor and Description |
|---|
WeaponAvailabilityComparator(ch.sahits.game.openpatrician.model.weapon.IArmory armory) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(ch.sahits.game.openpatrician.model.weapon.EWeapon w1,
ch.sahits.game.openpatrician.model.weapon.EWeapon w2) |
private int |
getAmount(ch.sahits.game.openpatrician.model.weapon.EWeapon weapon) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic WeaponAvailabilityComparator(ch.sahits.game.openpatrician.model.weapon.IArmory armory)
public int compare(ch.sahits.game.openpatrician.model.weapon.EWeapon w1,
ch.sahits.game.openpatrician.model.weapon.EWeapon w2)
compare in interface Comparator<ch.sahits.game.openpatrician.model.weapon.EWeapon>private int getAmount(ch.sahits.game.openpatrician.model.weapon.EWeapon weapon)
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.