IAmountable, ITradable, IWeaponpublic enum EWeapon extends java.lang.Enum<EWeapon> implements IWeapon
| Enum Constant | Description |
|---|---|
BALLISTA_BIG |
|
BALLISTA_SMALL |
|
BOMBARD |
|
BOW |
|
CANNON |
|
CROSSBOW |
|
HAND_WEAPON |
|
MUSKET |
|
SWORD |
|
TREBUCHET_BIG |
|
TREBUCHET_SMALL |
| Modifier and Type | Method | Description |
|---|---|---|
static EWeapon |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EWeapon[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetBuyCurve, getMarketSaturationForBuying, getMarketSaturationForSelling, getMaxValueBuy, getMaxValueSell, getMinValueBuy, getMinValueSell, getSellCurve, namepublic static final EWeapon SWORD
public static final EWeapon BOW
public static final EWeapon CROSSBOW
public static final EWeapon MUSKET
public static final EWeapon BALLISTA_SMALL
public static final EWeapon TREBUCHET_SMALL
public static final EWeapon BALLISTA_BIG
public static final EWeapon TREBUCHET_BIG
public static final EWeapon BOMBARD
public static final EWeapon CANNON
public static final EWeapon HAND_WEAPON
public static EWeapon[] values()
for (EWeapon c : EWeapon.values()) System.out.println(c);
public static EWeapon valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.