|
||||||||||
| 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.Items
cz.cuni.amis.pogamut.ut3.agent.module.sensor.UT3Items
public class UT3Items
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Items |
|---|
cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Items.EndMessageListener, cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Items.ItemPickedUpListener, cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Items.ItemsListener, cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Items.MapPointsListener, cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Items.NavPointListener |
| Field Summary |
|---|
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Items |
|---|
agentInfo, endMessageListener, game, itemPickedUpListener, itemsListener, mapPointsListener, navPointListener, navPoints, navPointsToProcess, weaponry |
| 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 | |
|---|---|
UT3Items(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot,
cz.cuni.amis.pogamut.ut2004.agent.module.sensor.AgentInfo agentInfo,
cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Game game,
cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.Weaponry weaponry,
Logger log)
|
|
| Method Summary | |
|---|---|
double |
getItemRespawnTime(cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType ut3ItemType)
Returns how fast are the items respawning based on their item type (in real seconds according to System.currentTimeMillis(). |
boolean |
isPickable(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Item item)
|
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Items |
|---|
cleanUp, createItemsListener, createMapPointsListener, getAllItems, getAllItems, getAllItems, getAllItems, getItem, getItem, getItemRespawnTime, getItemRespawnUT2004Time, getItemRespawnUT2004Time, getKnownPickup, getKnownPickup, getKnownPickups, getKnownPickups, getKnownPickups, getKnownPickups, getRandomItem, getSpawnedItems, getSpawnedItems, getSpawnedItems, getSpawnedItems, getVisibleItem, getVisibleItem, getVisibleItems, getVisibleItems, getVisibleItems, getVisibleItems, isPickupSpawned, isPickupSpawned |
| 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 UT3Items(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot,
cz.cuni.amis.pogamut.ut2004.agent.module.sensor.AgentInfo agentInfo,
cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Game game,
cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.Weaponry weaponry,
Logger log)
| Method Detail |
|---|
public boolean isPickable(cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Item item)
isPickable in class cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Itemspublic double getItemRespawnTime(cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType ut3ItemType)
System.currentTimeMillis().
getItemRespawnTime in class cz.cuni.amis.pogamut.ut2004.agent.module.sensor.ItemsUT3ItemType -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||