cz.cuni.pogamut.MessageObjects
Enum ItemType

java.lang.Object
  extended by java.lang.Enum<ItemType>
      extended by cz.cuni.pogamut.MessageObjects.ItemType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ItemType>

public enum ItemType
extends java.lang.Enum<ItemType>

enum of all known item types, extra types must be processed separately


Enum Constant Summary
ADRENALINE_PACK
           
ASSAULT_RIFLE
           
BIO_RIFLE
           
FLAK_CANNON
           
HEALTH_PACK
           
LIGHTNING_GUN
           
LINK_GUN
           
MINI_HEALTH_PACK
           
MINIGUN
           
ONS_AVRIL
           
ONS_GRENADE_LAUNCHER
           
ONS_MINE_LAYER
           
REDEEMER
           
ROCKET_LAUNCHER
           
SHIELD_GUN
           
SHIELD_PACK
           
SHOCK_RIFLE
           
SNIPER_RIFLE
           
SUPER_HEALTH_PACK
           
SUPER_SHIELD_PACK
           
U_DAMAGE_PACK
           
 
Method Summary
static ItemType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ItemType[] 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

SHIELD_GUN

public static final ItemType SHIELD_GUN

ASSAULT_RIFLE

public static final ItemType ASSAULT_RIFLE

BIO_RIFLE

public static final ItemType BIO_RIFLE

ONS_MINE_LAYER

public static final ItemType ONS_MINE_LAYER

SHOCK_RIFLE

public static final ItemType SHOCK_RIFLE

MINIGUN

public static final ItemType MINIGUN

LINK_GUN

public static final ItemType LINK_GUN

FLAK_CANNON

public static final ItemType FLAK_CANNON

ONS_GRENADE_LAUNCHER

public static final ItemType ONS_GRENADE_LAUNCHER

ROCKET_LAUNCHER

public static final ItemType ROCKET_LAUNCHER

ONS_AVRIL

public static final ItemType ONS_AVRIL

LIGHTNING_GUN

public static final ItemType LIGHTNING_GUN

SNIPER_RIFLE

public static final ItemType SNIPER_RIFLE

REDEEMER

public static final ItemType REDEEMER

SHIELD_PACK

public static final ItemType SHIELD_PACK

SUPER_SHIELD_PACK

public static final ItemType SUPER_SHIELD_PACK

HEALTH_PACK

public static final ItemType HEALTH_PACK

MINI_HEALTH_PACK

public static final ItemType MINI_HEALTH_PACK

SUPER_HEALTH_PACK

public static final ItemType SUPER_HEALTH_PACK

U_DAMAGE_PACK

public static final ItemType U_DAMAGE_PACK

ADRENALINE_PACK

public static final ItemType ADRENALINE_PACK
Method Detail

values

public static ItemType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ItemType c : ItemType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ItemType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null