|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<UT2004ItemType.UT2004Group>
cz.cuni.amis.pogamut.ut2004.communication.messages.UT2004ItemType.UT2004Group
public static enum UT2004ItemType.UT2004Group
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 | |
---|---|
String |
getName()
|
Set<ItemType> |
getTypes()
|
static UT2004ItemType.UT2004Group |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static UT2004ItemType.UT2004Group[] |
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 |
Methods inherited from interface cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType.Group |
---|
name |
Enum Constant Detail |
---|
public static final UT2004ItemType.UT2004Group TRANSLOCATOR
public static final UT2004ItemType.UT2004Group SHIELD_GUN
public static final UT2004ItemType.UT2004Group ASSAULT_RIFLE
public static final UT2004ItemType.UT2004Group BIO_RIFLE
public static final UT2004ItemType.UT2004Group SHOCK_RIFLE
public static final UT2004ItemType.UT2004Group LINK_GUN
public static final UT2004ItemType.UT2004Group MINIGUN
public static final UT2004ItemType.UT2004Group FLAK_CANNON
public static final UT2004ItemType.UT2004Group ROCKET_LAUNCHER
public static final UT2004ItemType.UT2004Group LIGHTNING_GUN
public static final UT2004ItemType.UT2004Group SNIPER_RIFLE
public static final UT2004ItemType.UT2004Group ION_PAINTER
public static final UT2004ItemType.UT2004Group REDEEMER
public static final UT2004ItemType.UT2004Group SUPER_SHOCK_RIFLE
public static final UT2004ItemType.UT2004Group ONS_MINE_LAYER
public static final UT2004ItemType.UT2004Group ONS_GRENADE_LAUNCHER
public static final UT2004ItemType.UT2004Group ONS_AVRIL
public static final UT2004ItemType.UT2004Group ONS_TARGET_PAINTER
public static final UT2004ItemType.UT2004Group HEALTH
public static final UT2004ItemType.UT2004Group MINI_HEALTH
public static final UT2004ItemType.UT2004Group SUPER_HEALTH
public static final UT2004ItemType.UT2004Group SMALL_ARMOR
public static final UT2004ItemType.UT2004Group SUPER_ARMOR
public static final UT2004ItemType.UT2004Group ADRENALINE
public static final UT2004ItemType.UT2004Group UDAMAGE
public static final UT2004ItemType.UT2004Group KEY
public static final UT2004ItemType.UT2004Group OTHER
public static final UT2004ItemType.UT2004Group NONE
Field Detail |
---|
public String name
Method Detail |
---|
public static UT2004ItemType.UT2004Group[] values()
for (UT2004ItemType.UT2004Group c : UT2004ItemType.UT2004Group.values()) System.out.println(c);
public static UT2004ItemType.UT2004Group 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()
getTypes
in interface ItemType.Group
public String getName()
getName
in interface ItemType.Group
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |