cz.cuni.amis.pogamut.ut3.agent.module.sensor
Class UT3Items
java.lang.Object
cz.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.Items
cz.cuni.amis.pogamut.ut3.agent.module.sensor.UT3Items
- All Implemented Interfaces:
- IComponent
public class UT3Items
- extends Items
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 |
UT3Items
public UT3Items(UT2004Bot bot,
AgentInfo agentInfo,
Game game,
Weaponry weaponry,
Logger log)
isPickable
public boolean isPickable(Item item)
- Specified by:
isPickable
in class Items
getItemRespawnTime
public double getItemRespawnTime(ItemType ut3ItemType)
- Returns how fast are the items respawning based on their item type (in real seconds according to
System.currentTimeMillis()
.
- Specified by:
getItemRespawnTime
in class Items
- Parameters:
UT3ItemType
-
- Returns:
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.