|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType cz.cuni.amis.pogamut.ut3.communication.messages.UT3ItemType
public class UT3ItemType
Nested Class Summary | |
---|---|
static class |
UT3ItemType.UT3Group
List of all item groups. |
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType |
---|
ItemType.Category, ItemType.Group |
Field Summary | |
---|---|
static UT3ItemType |
ARMOR_HELMET
Helmet. |
static UT3ItemType |
ARMOR_SHIELD_BELT
Shieldbelt. |
static UT3ItemType |
ARMOR_THIGHPADS
Thighpads. |
static UT3ItemType |
ARMOR_VEST
Vest. |
static UT3ItemType |
AVRIL
AVRIL weapon |
static UT3ItemType |
AVRIL_AMMO
AVRIL ammo |
static UT3ItemType |
BERSERK_PACK
|
static UT3ItemType |
BIO_RIFLE
BioRifle weapon. |
static UT3ItemType |
BIO_RIFLE_AMMO
BioRifle ammo. |
static UT3ItemType |
BIO_RIFLE_PROJECTILE
BioRifle projectile. |
static UT3ItemType |
EMP_MINE
EMP Mine |
static UT3ItemType |
EMP_MINE_AMMO
EMP Mine Ammo |
static UT3ItemType |
ENERGY_SHIELD
EnergyShield |
static UT3ItemType |
ENERGY_SHIELD_AMMO
EnergyShield Ammo |
static UT3ItemType |
ENFORCER
Enforcer weapon. |
static UT3ItemType |
ENFORCER_AMMO
Enforcer ammo. |
static UT3ItemType |
FLAK_CANNON
FlakCannon weapon. |
static UT3ItemType |
FLAK_CANNON_AMMO
FlakCannon ammo. |
static UT3ItemType |
FLAK_CANNON_CHUNK
FlakCannon chunk projectile. |
static UT3ItemType |
FLAK_CANNON_SHELL
FlakCannon shell projectile. |
static cz.cuni.amis.utils.maps.HashMapSet<UT3ItemType.UT3Group,ItemType> |
GROUPS
Contains item types that belongs to their groups. |
static UT3ItemType |
HEALTH_VIAL
Health vial. |
static UT3ItemType |
IMPACT_HAMMER
ImpactHammer weapon. |
static UT3ItemType |
IMPACT_HAMMER_AMMO
ImpactHammer ammo - sent when the bot is spawned. |
static UT3ItemType |
INVISIBILITY
Invisibility |
static UT3ItemType |
INVULNERABILITY
Invulnerability |
static UT3ItemType |
JUMP_BOOTS
|
static UT3ItemType |
KEY
Key. |
static UT3ItemType |
LINK_GENERATOR
Link generator |
static UT3ItemType |
LINK_GENERATOR_AMMO
Link generator Ammo |
static UT3ItemType |
LINK_GUN
LinkGun weapon. |
static UT3ItemType |
LINK_GUN_AMMO
LinkGun ammo. |
static UT3ItemType |
LINK_GUN_PROJECTILE
LinkGun projectile. |
static UT3ItemType |
MEDIUM_HEALTH
Health kit. |
static UT3ItemType |
NONE
No UT3ItemType |
protected static Map<String,ItemType> |
protos
Map of all registered ItemType prototypes. |
static UT3ItemType |
REDEEMER
SniperRifle weapon (classic sniper weapon). |
static UT3ItemType |
REDEEMER_AMMO
|
static UT3ItemType |
REDEEMER_PROJECTILE
|
static UT3ItemType |
ROCKET_LAUNCHER
RocketLauncher weapon. |
static UT3ItemType |
ROCKET_LAUNCHER_AMMO
RocketLauncher ammo. |
static UT3ItemType |
ROCKET_LAUNCHER_PROJECTILE
RocketLauncher projectile. |
static UT3ItemType |
SHAPED_CHARGE
ShapedCharge |
static UT3ItemType |
SHAPED_CHARGE_AMMO
ShapedCharge Ammo |
static UT3ItemType |
SHOCK_RIFLE
ShockRifle weapon. |
static UT3ItemType |
SHOCK_RIFLE_AMMO
ShockRifle ammo. |
static UT3ItemType |
SHOCK_RIFLE_PROJECTILE
ShockRifle projectile. |
static UT3ItemType |
SLOW_FIELD
Slow Field |
static UT3ItemType |
SLOW_VOLUME
Slow Volume |
static UT3ItemType |
SLOW_VOLUME_AMMO
Slow Volume Ammo |
static UT3ItemType |
SLOW_VOLUME_CONTENT
Slow Volume content, this is the field itself |
static UT3ItemType |
SNIPER_RIFLE
SniperRifle weapon (classic sniper weapon). |
static UT3ItemType |
SNIPER_RIFLE_AMMO
SniperRifle ammo. |
static UT3ItemType |
SPIDERMINE_TRAP
SpiderMine Trap |
static UT3ItemType |
SPIDERMINE_TRAP_AMMO
SpiderMine Trap Ammo |
static UT3ItemType |
STINGER_MINIGUN
Minigun weapon. |
static UT3ItemType |
STINGER_MINIGUN_AMMO
Minigun ammo. |
static UT3ItemType |
STINGER_MINIGUN_SHARD
|
static UT3ItemType |
SUPER_HEALTH_PACK
SuperHealth charger. |
static UT3ItemType |
TRANSLOCATOR
Translocator. |
static UT3ItemType |
TRANSLOCATOR_PROJECTILE
Translocator Beacon. |
static UT3ItemType |
U_DAMAGE_PACK
UDamage bonus (damage multiplier). |
static UT3ItemType |
WEAPON_LOCKER
WeaponLocker. |
static UT3ItemType |
XRAY_VOLUME
XRay Volume |
static UT3ItemType |
XRAY_VOLUME_AMMO
XRay Ammo |
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType |
---|
CATEGORIES |
Constructor Summary | |
---|---|
UT3ItemType(String name)
Public constructor - creates ItemType of the EXTRA category and Group OTHER. |
Method Summary | |
---|---|
int |
compareTo(ItemType o)
|
boolean |
equals(Object obj)
|
static UT3ItemType |
getAmmoForWeapon(ItemType itemType)
|
ItemType.Category |
getCategory()
|
UT3ItemType.UT3Group |
getGroup()
|
static ItemType |
getItemType(String utName)
Retrieves an ItemType for the specified item type name. |
String |
getName()
|
static UT3ItemType |
getWeaponForAmmo(ItemType itemType)
|
static UT3ItemType |
getWeaponItemType(String str)
Attempts to recognize the weapon you are currently holding... |
static UT3ItemType |
getWeaponItemType(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId id)
|
int |
hashCode()
|
static boolean |
isDeployable(ItemType item)
Check if this weapon is a deployable. |
static UT3ItemType |
MakePrototype(ItemType.Category category,
UT3ItemType.UT3Group group,
String[] utNames)
Proto-constructor. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static Map<String,ItemType> protos
public static final cz.cuni.amis.utils.maps.HashMapSet<UT3ItemType.UT3Group,ItemType> GROUPS
public static final UT3ItemType TRANSLOCATOR
public static final UT3ItemType TRANSLOCATOR_PROJECTILE
public static final UT3ItemType IMPACT_HAMMER
public static final UT3ItemType IMPACT_HAMMER_AMMO
public static final UT3ItemType ENFORCER
public static final UT3ItemType ENFORCER_AMMO
public static final UT3ItemType BIO_RIFLE
public static final UT3ItemType BIO_RIFLE_AMMO
public static final UT3ItemType BIO_RIFLE_PROJECTILE
public static final UT3ItemType SHOCK_RIFLE
public static final UT3ItemType SHOCK_RIFLE_AMMO
public static final UT3ItemType SHOCK_RIFLE_PROJECTILE
public static final UT3ItemType LINK_GUN
public static final UT3ItemType LINK_GUN_AMMO
public static final UT3ItemType LINK_GUN_PROJECTILE
public static final UT3ItemType STINGER_MINIGUN
public static final UT3ItemType STINGER_MINIGUN_AMMO
public static final UT3ItemType STINGER_MINIGUN_SHARD
public static final UT3ItemType FLAK_CANNON
public static final UT3ItemType FLAK_CANNON_AMMO
public static final UT3ItemType FLAK_CANNON_CHUNK
public static final UT3ItemType FLAK_CANNON_SHELL
public static final UT3ItemType AVRIL
public static final UT3ItemType AVRIL_AMMO
public static final UT3ItemType ROCKET_LAUNCHER
public static final UT3ItemType ROCKET_LAUNCHER_AMMO
public static final UT3ItemType ROCKET_LAUNCHER_PROJECTILE
public static final UT3ItemType SNIPER_RIFLE
public static final UT3ItemType SNIPER_RIFLE_AMMO
public static final UT3ItemType REDEEMER
public static final UT3ItemType REDEEMER_AMMO
public static final UT3ItemType REDEEMER_PROJECTILE
public static final UT3ItemType MEDIUM_HEALTH
public static final UT3ItemType HEALTH_VIAL
public static final UT3ItemType SUPER_HEALTH_PACK
public static final UT3ItemType ARMOR_HELMET
public static final UT3ItemType ARMOR_SHIELD_BELT
public static final UT3ItemType ARMOR_THIGHPADS
public static final UT3ItemType ARMOR_VEST
public static final UT3ItemType U_DAMAGE_PACK
public static final UT3ItemType BERSERK_PACK
public static final UT3ItemType JUMP_BOOTS
public static final UT3ItemType XRAY_VOLUME
public static final UT3ItemType XRAY_VOLUME_AMMO
public static final UT3ItemType SPIDERMINE_TRAP
public static final UT3ItemType SPIDERMINE_TRAP_AMMO
public static final UT3ItemType ENERGY_SHIELD
public static final UT3ItemType ENERGY_SHIELD_AMMO
public static final UT3ItemType EMP_MINE
public static final UT3ItemType EMP_MINE_AMMO
public static final UT3ItemType LINK_GENERATOR
public static final UT3ItemType LINK_GENERATOR_AMMO
public static final UT3ItemType SHAPED_CHARGE
public static final UT3ItemType SHAPED_CHARGE_AMMO
public static final UT3ItemType SLOW_VOLUME
public static final UT3ItemType SLOW_VOLUME_CONTENT
public static final UT3ItemType SLOW_VOLUME_AMMO
public static final UT3ItemType SLOW_FIELD
public static final UT3ItemType INVISIBILITY
public static final UT3ItemType INVULNERABILITY
public static final UT3ItemType WEAPON_LOCKER
public static final UT3ItemType KEY
public static final UT3ItemType NONE
Constructor Detail |
---|
public UT3ItemType(String name)
name
- Type name from GB engine.Method Detail |
---|
public static UT3ItemType getWeaponForAmmo(ItemType itemType)
public static UT3ItemType getAmmoForWeapon(ItemType itemType)
public String toString()
toString
in class ItemType
public ItemType.Category getCategory()
getCategory
in class ItemType
public UT3ItemType.UT3Group getGroup()
getGroup
in class ItemType
public boolean equals(Object obj)
equals
in class ItemType
public int hashCode()
hashCode
in class ItemType
public int compareTo(ItemType o)
public static UT3ItemType MakePrototype(ItemType.Category category, UT3ItemType.UT3Group group, String[] utNames)
category
- Category of the item.group
- Group of the item.utNames
- Names of the item in UT engine.
public static UT3ItemType getWeaponItemType(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId id)
public static UT3ItemType getWeaponItemType(String str)
See Self.getWeapon()
.
May return null == weapon was not recognized. ALWAYS CHECK!
public static boolean isDeployable(ItemType item)
item
- item to be checked.public String getName()
getName
in class ItemType
public static ItemType getItemType(String utName)
utName
- e.g. Item.getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |