cz.cuni.amis.pogamut.ut3.communication.messages
Enum UT3ItemType.UT3Group

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

public static enum UT3ItemType.UT3Group
extends Enum<UT3ItemType.UT3Group>
implements 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
ARMOR_HELMET
          Armor parts.
ARMOR_SHIELD_BELT
           
ARMOR_THIGHPADS
           
ARMOR_VEST
           
AVRIL
          Avril weapon and accessory.
BERSERK
           
BIO_RIFLE
          BioRifle weapon and accessory.
EMP_MINE
           
ENERGY_SHIELD
           
ENFORCER
          AssaultRifle weapon and accessory.
FLAK_CANNON
          FlakCannon weapon and accessory.
HEALTH_VIAL
          Mini health vial.
IMPACT_HAMMER
          ShieldGun weapon and accessory.
INVISIBILITY
           
INVULNERABILITY
           
JUMP_BOOTS
          POWERUPS
KEY
          Keys.
LINK_GENERATOR
           
LINK_GUN
          LinkGun weapon and accessory.
MEDIUM_HEALTH
          Classic health pack.
NONE
          No group, used for the prototype None
OTHER
          Other items with user-defined group.
REDEEMER
          Redeemer
ROCKET_LAUNCHER
          RocketLauncher weapon and accessory.
SHAPED_CHARGE
           
SHOCK_RIFLE
          ShockRifle weapon and accessory.
SLOW_FIELD
          SlowField
SLOW_VOLUME
           
SNIPER_RIFLE
          SniperRifle weapon and accessory.
SPIDERMINE_TRAP
           
STINGER_MINIGUN
          Minigun weapon and accessory.
SUPER_HEALTH
          Big health recharger.
TRANSLOCATOR
          Translocating weapon and accessory.
UDAMAGE
          UDamage bonus items.
WEAPON_LOCKER
          Weaponlocker
XRAY_VOLUME
          DEPLOYABLES
 
Field Summary
 String name
          Human-readable name of the group.
 
Method Summary
 String getName()
           
 Set<ItemType> getTypes()
           
static UT3ItemType.UT3Group valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UT3ItemType.UT3Group[] 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

TRANSLOCATOR

public static final UT3ItemType.UT3Group TRANSLOCATOR
Translocating weapon and accessory.


IMPACT_HAMMER

public static final UT3ItemType.UT3Group IMPACT_HAMMER
ShieldGun weapon and accessory.


ENFORCER

public static final UT3ItemType.UT3Group ENFORCER
AssaultRifle weapon and accessory.


BIO_RIFLE

public static final UT3ItemType.UT3Group BIO_RIFLE
BioRifle weapon and accessory.


SHOCK_RIFLE

public static final UT3ItemType.UT3Group SHOCK_RIFLE
ShockRifle weapon and accessory.


LINK_GUN

public static final UT3ItemType.UT3Group LINK_GUN
LinkGun weapon and accessory.


STINGER_MINIGUN

public static final UT3ItemType.UT3Group STINGER_MINIGUN
Minigun weapon and accessory.


FLAK_CANNON

public static final UT3ItemType.UT3Group FLAK_CANNON
FlakCannon weapon and accessory.


ROCKET_LAUNCHER

public static final UT3ItemType.UT3Group ROCKET_LAUNCHER
RocketLauncher weapon and accessory.


AVRIL

public static final UT3ItemType.UT3Group AVRIL
Avril weapon and accessory.


SNIPER_RIFLE

public static final UT3ItemType.UT3Group SNIPER_RIFLE
SniperRifle weapon and accessory.


REDEEMER

public static final UT3ItemType.UT3Group REDEEMER
Redeemer


WEAPON_LOCKER

public static final UT3ItemType.UT3Group WEAPON_LOCKER
Weaponlocker


SLOW_FIELD

public static final UT3ItemType.UT3Group SLOW_FIELD
SlowField


MEDIUM_HEALTH

public static final UT3ItemType.UT3Group MEDIUM_HEALTH
Classic health pack.


HEALTH_VIAL

public static final UT3ItemType.UT3Group HEALTH_VIAL
Mini health vial.


SUPER_HEALTH

public static final UT3ItemType.UT3Group SUPER_HEALTH
Big health recharger.


ARMOR_HELMET

public static final UT3ItemType.UT3Group ARMOR_HELMET
Armor parts.


ARMOR_VEST

public static final UT3ItemType.UT3Group ARMOR_VEST

ARMOR_THIGHPADS

public static final UT3ItemType.UT3Group ARMOR_THIGHPADS

ARMOR_SHIELD_BELT

public static final UT3ItemType.UT3Group ARMOR_SHIELD_BELT

JUMP_BOOTS

public static final UT3ItemType.UT3Group JUMP_BOOTS
POWERUPS


UDAMAGE

public static final UT3ItemType.UT3Group UDAMAGE
UDamage bonus items.


BERSERK

public static final UT3ItemType.UT3Group BERSERK

INVULNERABILITY

public static final UT3ItemType.UT3Group INVULNERABILITY

INVISIBILITY

public static final UT3ItemType.UT3Group INVISIBILITY

KEY

public static final UT3ItemType.UT3Group KEY
Keys.


OTHER

public static final UT3ItemType.UT3Group OTHER
Other items with user-defined group.


XRAY_VOLUME

public static final UT3ItemType.UT3Group XRAY_VOLUME
DEPLOYABLES


SPIDERMINE_TRAP

public static final UT3ItemType.UT3Group SPIDERMINE_TRAP

ENERGY_SHIELD

public static final UT3ItemType.UT3Group ENERGY_SHIELD

EMP_MINE

public static final UT3ItemType.UT3Group EMP_MINE

LINK_GENERATOR

public static final UT3ItemType.UT3Group LINK_GENERATOR

SHAPED_CHARGE

public static final UT3ItemType.UT3Group SHAPED_CHARGE

SLOW_VOLUME

public static final UT3ItemType.UT3Group SLOW_VOLUME

NONE

public static final UT3ItemType.UT3Group 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 UT3ItemType.UT3Group[] 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 (UT3ItemType.UT3Group c : UT3ItemType.UT3Group.values())
    System.out.println(c);

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

valueOf

public static UT3ItemType.UT3Group 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()
Specified by:
getTypes in interface ItemType.Group

getName

public String getName()
Specified by:
getName in interface ItemType.Group


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