|
||||||||||
| 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<cz.cuni.amis.pogamut.ut2004.bot.impl.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(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot,
cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Game game)
|
|
UT3AgentInfo(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot,
cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Game game,
Logger log)
|
|
| Method Summary | |
|---|---|
cz.cuni.amis.pogamut.ut2004.communication.messages.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.ut2004.agent.module.sensor.AgentInfo |
|---|
_getCurrentVolumeTerminalVelocity, atLocation, atLocation, atLocation, atLocation, cleanUp, getAccelerationRate, getAdrenaline, getAirControl, getAirSpeed, getArmor, getBaseSpeed, getBotName, getConfig, getCurrentAmmo, getCurrentSecondaryAmmo, getCurrentVolumeDamagePerSec, getCurrentVolumeDamageType, getCurrentVolumeFluidFriction, getCurrentVolumeGroundFriction, getCurrentWeapon, getCurrentWeaponName, getCurrentZoneGravity, getCurrentZoneVelocity, getDamageScaling, getDeaths, getDistance, getDodgeSpeedFactor, getDodgeZBoost, getFallSpeed, getFloorLocation, getHealth, getHighArmor, getHorizontalRotation, getId, getJumpZBoost, getKills, getLadderSpeed, getLocation, getLowArmor, getName, getNearestItem, getNearestNavPoint, getNearestNavPoint, getNearestNavPoint, getNearestNavPoint, getNearestPlayer, getNearestVisibleItem, getNearestVisibleNavPoint, getNearestVisiblePlayer, getRemainingUDamageTime, getRotation, getScore, getSelf, getSuicides, getTeam, getTeamScore, getTime, getTimeDelta, getVelocity, getWaterSpeed, hasArmor, hasFastFire, hasHighArmor, hasInvisibility, hasLowArmor, hasPowerUp, hasRegeneration, hasSpeed, hasUDamage, hasWeapon, isAdrenalineFull, isAdrenalineSufficient, isAtLocation, isAtLocation, isCrouched, isCurrentVolumeAffectingProjectiles, isCurrentVolumeBanningInventory, isCurrentVolumeDestructive, isCurrentVolumePainCausing, isCurrentVolumeWater, isCurrentZoneNeutral, isEnemy, isEnemy, isFacing, isFacing, isFriend, isFriend, isHealthy, isMoving, isOnNavGraph, isPrimaryShooting, isSecondaryShooting, isShooting, isSuperHealthy, isTouchingGround, isWalking |
| 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(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot,
cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Game game,
Logger log)
public UT3AgentInfo(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot,
cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Game game)
| Method Detail |
|---|
public cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType getCurrentWeaponType()
getCurrentWeaponType in class cz.cuni.amis.pogamut.ut2004.agent.module.sensor.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.
getPowerUp in class cz.cuni.amis.pogamut.ut2004.agent.module.sensor.AgentInfopublic double getPowerUpTime()
Type of powerups are invisibility, invulnerability, berserk and slowfield.
getPowerUpTime in class cz.cuni.amis.pogamut.ut2004.agent.module.sensor.AgentInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||