nl.tudelft.pogamut.ut2004.agent.module.sensor
Class UT2004Projectiles

Package class diagram package UT2004Projectiles
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
      extended by cz.cuni.amis.pogamut.base.agent.module.SensorModule<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>
          extended by nl.tudelft.pogamut.unreal.agent.module.sensor.Projectiles
              extended by nl.tudelft.pogamut.ut2004.agent.module.sensor.UT2004Projectiles
All Implemented Interfaces:
cz.cuni.amis.pogamut.base.component.IComponent

public class UT2004Projectiles
extends nl.tudelft.pogamut.unreal.agent.module.sensor.Projectiles

Module to keep track of projectiles. TODO: Horribly inefficient, use listeners. TODO: Needs ILocated on IncomingProjectile.

Author:
mpkorstanje

Field Summary
protected  cz.cuni.amis.pogamut.ut2004.agent.module.sensor.AgentInfo info
           
 
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
UT2004Projectiles(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot<?,?,?> agent, cz.cuni.amis.pogamut.ut2004.agent.module.sensor.AgentInfo info)
           
 
Method Summary
 Collection<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectile> getProjectiles(cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType type)
           
 
Methods inherited from class nl.tudelft.pogamut.unreal.agent.module.sensor.Projectiles
getNearestProjectile, getNearestProjectile, getNearestProjectile, getNearestProjectile, getNearestProjectile, getProjectiles
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule
cleanUp, 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
 

Field Detail

info

protected cz.cuni.amis.pogamut.ut2004.agent.module.sensor.AgentInfo info
Constructor Detail

UT2004Projectiles

public UT2004Projectiles(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot<?,?,?> agent,
                         cz.cuni.amis.pogamut.ut2004.agent.module.sensor.AgentInfo info)
Method Detail

getProjectiles

public Collection<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectile> getProjectiles(cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType type)
Specified by:
getProjectiles in class nl.tudelft.pogamut.unreal.agent.module.sensor.Projectiles


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.