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

java.lang.Objectcz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
cz.cuni.amis.pogamut.base.agent.module.SensorModule<UT2004Bot>
cz.cuni.amis.pogamut.ut2004.agent.module.sensor.AgentInfo
cz.cuni.amis.pogamut.ut3.bot.impl.UT3AgentInfo
public class UT3AgentInfo
| Field Summary |
|---|
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.agent.module.sensor.AgentInfo |
|---|
AT_LOCATION_EPSILON, CLOSE_ENOUGH_EPSILON, game, IS_FACING_ANGLE, NONE_WEAPON_ID, TEAM_BLUE, TEAM_GOLD, TEAM_GREEN, TEAM_NONE, TEAM_RED |
| Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.SensorModule |
|---|
worldView |
| Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule |
|---|
agent, controller, eventBus, log |
| Constructor Summary | |
|---|---|
UT3AgentInfo(UT2004Bot bot,
Game game)
|
|
UT3AgentInfo(UT2004Bot bot,
Game game,
Logger log)
|
|
| Method Summary | |
|---|---|
ItemType |
getCurrentWeaponType()
|
Integer |
getHelmetArmor()
Tells how much helmet armor the agent is wearing. |
String |
getPowerUp()
Tells which powerup the agent got. |
double |
getPowerUpTime()
If the agent got a powerup, this returns the remaining time of the powerup. |
Integer |
getShieldBeltArmor()
Tells how much shieldbelt armor the agent is wearing. |
Integer |
getThighpadArmor()
Tells how much thighpad armor the agent is wearing. |
Integer |
getVestArmor()
Tells how much vest armor the agent is wearing. |
| Methods inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule |
|---|
getComponentId, getLog, getState, initComponentId, isRunning, kill, pause, reset, resume, start, stop, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UT3AgentInfo(UT2004Bot bot,
Game game,
Logger log)
public UT3AgentInfo(UT2004Bot bot,
Game game)
| Method Detail |
|---|
public ItemType getCurrentWeaponType()
getCurrentWeaponType in class AgentInfopublic Integer getHelmetArmor()
Armor rating of the helmet. Maximum is 20 points of protection, removing 50% of damage or completely blocking a single headshot.
public Integer getVestArmor()
Armor rating of the vest. Maximum provides 50 points of protection, removing 75% of damage.
public Integer getThighpadArmor()
Armor rating of the thighpad. Maximum provide 30 points of protection, removing 50% of damage.
public Integer getShieldBeltArmor()
Armor rating of the shieldbelt. Maximum provides 100 points of protection, removing 100% of damage.
public String getPowerUp()
Type of powerups are invisibility, invulnerability, berserk and slowfield.
public double getPowerUpTime()
Type of powerups are invisibility, invulnerability, berserk and slowfield.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||