|
||||||||||
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.ut2004.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 | |
---|---|
ADRENALINE
Adrenaline packs and adrenaline restorers. |
|
ASSAULT_RIFLE
AssaultRifle weapon and accessory. |
|
BIO_RIFLE
BioRifle weapon and accessory. |
|
FLAK_CANNON
FlakCannon weapon and accessory. |
|
HEALTH
Classic health pack. |
|
ION_PAINTER
IonPainter weapon and accessory. |
|
KEY
Keys. |
|
LIGHTNING_GUN
LightningGun weapon and accessory. |
|
LINK_GUN
LinkGun weapon and accessory. |
|
MINI_HEALTH
Mini health vial. |
|
MINIGUN
Minigun weapon and accessory. |
|
NONE
No group, used for the prototype None |
|
ONS_AVRIL
OnsAvril weapon and accessory. |
|
ONS_GRENADE_LAUNCHER
OnsGrenadeLauncher weapon and accessory. |
|
ONS_MINE_LAYER
OnsMineLayer weapon and accessory. |
|
ONS_TARGET_PAINTER
TargetPainter weapon and accessory. |
|
OTHER
Other items with user-defined group. |
|
REDEEMER
Redeemer weapon and accessory. |
|
ROCKET_LAUNCHER
RocketLauncher weapon and accessory. |
|
SHIELD_GUN
ShieldGun weapon and accessory. |
|
SHOCK_RIFLE
ShockRifle weapon and accessory. |
|
SMALL_ARMOR
Shield pack. |
|
SNIPER_RIFLE
SniperRifle weapon and accessory. |
|
SUPER_ARMOR
Shield pack. |
|
SUPER_HEALTH
Big health recharger. |
|
SUPER_SHOCK_RIFLE
SuperShockRifle weapon and accessory. |
|
TRANSLOCATOR
Translocating 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 TRANSLOCATOR
public static final ItemType.Group SHIELD_GUN
public static final ItemType.Group ASSAULT_RIFLE
public static final ItemType.Group BIO_RIFLE
public static final ItemType.Group SHOCK_RIFLE
public static final ItemType.Group LINK_GUN
public static final ItemType.Group MINIGUN
public static final ItemType.Group FLAK_CANNON
public static final ItemType.Group ROCKET_LAUNCHER
public static final ItemType.Group LIGHTNING_GUN
public static final ItemType.Group SNIPER_RIFLE
public static final ItemType.Group ION_PAINTER
public static final ItemType.Group REDEEMER
public static final ItemType.Group SUPER_SHOCK_RIFLE
public static final ItemType.Group ONS_MINE_LAYER
public static final ItemType.Group ONS_GRENADE_LAUNCHER
public static final ItemType.Group ONS_AVRIL
public static final ItemType.Group ONS_TARGET_PAINTER
public static final ItemType.Group HEALTH
public static final ItemType.Group MINI_HEALTH
public static final ItemType.Group SUPER_HEALTH
public static final ItemType.Group SMALL_ARMOR
public static final ItemType.Group SUPER_ARMOR
public static final ItemType.Group ADRENALINE
public static final ItemType.Group UDAMAGE
public static final ItemType.Group KEY
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 |