cz.cuni.amis.pogamut.udk.communication.messages
Enum ItemType.Group

Package class diagram package ItemType.Group
java.lang.Object
  extended by java.lang.Enum<ItemType.Group>
      extended by cz.cuni.amis.pogamut.udk.communication.messages.ItemType.Group
All Implemented Interfaces:
Serializable, Comparable<ItemType.Group>
Enclosing class:
ItemType

public static enum ItemType.Group
extends 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

AVRIL

public static final ItemType.Group AVRIL
Avril weapon and accessory


BIORIFLE

public static final ItemType.Group BIORIFLE
BioRifle weapon and accessory


ENFORCER

public static final ItemType.Group ENFORCER
Enforcer weapon and accesory


FLAK_CANNON

public static final ItemType.Group FLAK_CANNON
FlakCannon weapon and accesory


IMPACT_HAMMER

public static final ItemType.Group IMPACT_HAMMER
ImpactHammer weapon and accesory


INSTAGIBRIFLE

public static final ItemType.Group INSTAGIBRIFLE
IstagibRifle weapon and accesory


REDEEMER

public static final ItemType.Group REDEEMER
Redeemer weapon and accesory


SNIPERRIFLE

public static final ItemType.Group SNIPERRIFLE
SnierRifle weapon and accessory


STINGER

public static final ItemType.Group STINGER
Stinger weapon and accessory


TRANSLOCATOR

public static final ItemType.Group TRANSLOCATOR
Translocator weapon and accessory


LINK_GUN

public static final ItemType.Group LINK_GUN
LinkGun weapon and accessory.


SHOCK_RIFLE

public static final ItemType.Group SHOCK_RIFLE
ShockRifle weapon and accessory.


ROCKET_LAUNCHER

public static final ItemType.Group ROCKET_LAUNCHER
RocketLauncher weapon and accessory.


PHYSICS_GUN

public static final ItemType.Group PHYSICS_GUN
Physics gun


HEALTH

public static final ItemType.Group HEALTH
Classic health pack.


MINI_HEALTH

public static final ItemType.Group MINI_HEALTH
Mini health vial.


THIGH_PAD

public static final ItemType.Group THIGH_PAD
Thigh pad.


BASE_ARMOR

public static final ItemType.Group BASE_ARMOR
Base armor.


SHIELD_BELT

public static final ItemType.Group SHIELD_BELT
ShieldBelt.


JUMP_BOOTS

public static final ItemType.Group JUMP_BOOTS
Jump boots.


UDAMAGE

public static final ItemType.Group UDAMAGE
UDamage bonus items.


OTHER

public static final ItemType.Group OTHER
Other items with user-defined group.


NONE

public static final ItemType.Group NONE
No group, used for the prototype None

Field Detail

name

public String name
Human-readable name of the group.

Method Detail

values

public static ItemType.Group[] 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.Group c : ItemType.Group.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.Group valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getTypes

public Set<ItemType> getTypes()


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.