nl.tudelft.pogamut.ut3.agent.module.sensor
Class UT3Projectiles

Package class diagram package UT3Projectiles
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.ut3.agent.module.sensor.UT3Projectiles
All Implemented Interfaces:
cz.cuni.amis.pogamut.base.component.IComponent

public class UT3Projectiles
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
 
Fields inherited from class nl.tudelft.pogamut.unreal.agent.module.sensor.Projectiles
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
UT3Projectiles(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
 

Constructor Detail

UT3Projectiles

public UT3Projectiles(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.