|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.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 |
|---|
cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType.Category, cz.cuni.amis.pogamut.ut2004.communication.messages.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,cz.cuni.amis.pogamut.ut2004.communication.messages.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,cz.cuni.amis.pogamut.ut2004.communication.messages.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(cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType o)
|
boolean |
equals(Object obj)
|
static UT3ItemType |
getAmmoForWeapon(cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType itemType)
|
cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType.Category |
getCategory()
|
UT3ItemType.UT3Group |
getGroup()
|
static cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType |
getItemType(String utName)
Retrieves an ItemType for the specified item type name. |
String |
getName()
|
static UT3ItemType |
getWeaponForAmmo(cz.cuni.amis.pogamut.ut2004.communication.messages.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(cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType item)
Check if this weapon is a deployable. |
static UT3ItemType |
MakePrototype(cz.cuni.amis.pogamut.ut2004.communication.messages.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,cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType> protos
public static final cz.cuni.amis.utils.maps.HashMapSet<UT3ItemType.UT3Group,cz.cuni.amis.pogamut.ut2004.communication.messages.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(cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType itemType)
public static UT3ItemType getAmmoForWeapon(cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType itemType)
public String toString()
toString in class cz.cuni.amis.pogamut.ut2004.communication.messages.ItemTypepublic cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType.Category getCategory()
getCategory in class cz.cuni.amis.pogamut.ut2004.communication.messages.ItemTypepublic UT3ItemType.UT3Group getGroup()
getGroup in class cz.cuni.amis.pogamut.ut2004.communication.messages.ItemTypepublic boolean equals(Object obj)
equals in class cz.cuni.amis.pogamut.ut2004.communication.messages.ItemTypepublic int hashCode()
hashCode in class cz.cuni.amis.pogamut.ut2004.communication.messages.ItemTypepublic int compareTo(cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType o)
public static UT3ItemType MakePrototype(cz.cuni.amis.pogamut.ut2004.communication.messages.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(cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType item)
item - item to be checked.public String getName()
getName in class cz.cuni.amis.pogamut.ut2004.communication.messages.ItemTypepublic static cz.cuni.amis.pogamut.ut2004.communication.messages.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 | |||||||||