|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ItemType.Group> cz.cuni.amis.pogamut.udk.communication.messages.ItemType.Group
public static enum ItemType.Group
List of all item groups. Groups fine down the categories into specific groups, based on what the item belongs to. Also, groups join items from different categories together, if they belong together (e.g. weapon with its ammo).
Enum Constant Summary | |
---|---|
AVRIL
Avril weapon and accessory |
|
BASE_ARMOR
Base armor. |
|
BIORIFLE
BioRifle weapon and accessory |
|
ENFORCER
Enforcer weapon and accesory |
|
FLAK_CANNON
FlakCannon weapon and accesory |
|
HEALTH
Classic health pack. |
|
IMPACT_HAMMER
ImpactHammer weapon and accesory |
|
INSTAGIBRIFLE
IstagibRifle weapon and accesory |
|
JUMP_BOOTS
Jump boots. |
|
LINK_GUN
LinkGun weapon and accessory. |
|
MINI_HEALTH
Mini health vial. |
|
NONE
No group, used for the prototype None |
|
OTHER
Other items with user-defined group. |
|
PHYSICS_GUN
Physics gun |
|
REDEEMER
Redeemer weapon and accesory |
|
ROCKET_LAUNCHER
RocketLauncher weapon and accessory. |
|
SHIELD_BELT
ShieldBelt. |
|
SHOCK_RIFLE
ShockRifle weapon and accessory. |
|
SNIPERRIFLE
SnierRifle weapon and accessory |
|
STINGER
Stinger weapon and accessory |
|
THIGH_PAD
Thigh pad. |
|
TRANSLOCATOR
Translocator weapon and accessory |
|
UDAMAGE
UDamage bonus items. |
Field Summary | |
---|---|
String |
name
Human-readable name of the group. |
Method Summary | |
---|---|
Set<ItemType> |
getTypes()
|
static ItemType.Group |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ItemType.Group[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ItemType.Group AVRIL
public static final ItemType.Group BIORIFLE
public static final ItemType.Group ENFORCER
public static final ItemType.Group FLAK_CANNON
public static final ItemType.Group IMPACT_HAMMER
public static final ItemType.Group INSTAGIBRIFLE
public static final ItemType.Group REDEEMER
public static final ItemType.Group SNIPERRIFLE
public static final ItemType.Group STINGER
public static final ItemType.Group TRANSLOCATOR
public static final ItemType.Group LINK_GUN
public static final ItemType.Group SHOCK_RIFLE
public static final ItemType.Group ROCKET_LAUNCHER
public static final ItemType.Group PHYSICS_GUN
public static final ItemType.Group HEALTH
public static final ItemType.Group MINI_HEALTH
public static final ItemType.Group THIGH_PAD
public static final ItemType.Group BASE_ARMOR
public static final ItemType.Group SHIELD_BELT
public static final ItemType.Group JUMP_BOOTS
public static final ItemType.Group UDAMAGE
public static final ItemType.Group OTHER
public static final ItemType.Group NONE
Field Detail |
---|
public String name
Method Detail |
---|
public static ItemType.Group[] values()
for (ItemType.Group c : ItemType.Group.values()) System.out.println(c);
public static ItemType.Group valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic Set<ItemType> getTypes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |