cz.cuni.amis.pogamut.ut3.agent.module.sensor
Class UT3Items

Package class diagram package UT3Items
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
      extended by cz.cuni.amis.pogamut.base.agent.module.SensorModule<UT2004Bot>
          extended by cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Items
              extended by cz.cuni.amis.pogamut.ut3.agent.module.sensor.UT3Items
All Implemented Interfaces:
IComponent

public class UT3Items
extends Items


Nested Class Summary
 
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.agent.module.sensor.Items
Items.EndMessageListener, Items.ItemPickedUpListener, Items.ItemsListener, Items.MapPointsListener, 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(UT2004Bot bot, AgentInfo agentInfo, Game game, Weaponry weaponry, Logger log)
           
 
Method Summary
 double getItemRespawnTime(ItemType ut3ItemType)
          Returns how fast are the items respawning based on their item type (in real seconds according to System.currentTimeMillis().
 boolean isPickable(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

UT3Items

public UT3Items(UT2004Bot bot,
                AgentInfo agentInfo,
                Game game,
                Weaponry weaponry,
                Logger log)
Method Detail

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.