nl.tudelft.pogamut.unreal.agent.module.sensor
Class Projectiles
java.lang.Object
cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
cz.cuni.amis.pogamut.base.agent.module.SensorModule<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>
nl.tudelft.pogamut.unreal.agent.module.sensor.Projectiles
- All Implemented Interfaces:
- cz.cuni.amis.pogamut.base.component.IComponent
public abstract class Projectiles
- extends cz.cuni.amis.pogamut.base.agent.module.SensorModule<cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot>
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 |
Projectiles(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot<?,?,?> agent,
cz.cuni.amis.pogamut.ut2004.agent.module.sensor.AgentInfo info)
|
|
Method Summary |
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectile |
getNearestProjectile()
|
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectile |
getNearestProjectile(cz.cuni.amis.pogamut.base3d.worldview.object.ILocated location)
|
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectile |
getNearestProjectile(cz.cuni.amis.pogamut.base3d.worldview.object.ILocated location,
double maxDistance)
|
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectile |
getNearestProjectile(cz.cuni.amis.pogamut.base3d.worldview.object.ILocated location,
double maxDistance,
cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType type)
|
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectile |
getNearestProjectile(cz.cuni.amis.pogamut.base3d.worldview.object.ILocated location,
cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType type)
|
Map<cz.cuni.amis.pogamut.base.communication.worldview.object.WorldObjectId,cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectile> |
getProjectiles()
|
abstract Collection<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectile> |
getProjectiles(cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType type)
|
| 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 |
info
protected cz.cuni.amis.pogamut.ut2004.agent.module.sensor.AgentInfo info
Projectiles
public Projectiles(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot<?,?,?> agent,
cz.cuni.amis.pogamut.ut2004.agent.module.sensor.AgentInfo info)
getNearestProjectile
public cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectile getNearestProjectile()
getProjectiles
public Map<cz.cuni.amis.pogamut.base.communication.worldview.object.WorldObjectId,cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectile> getProjectiles()
getNearestProjectile
public cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectile getNearestProjectile(cz.cuni.amis.pogamut.base3d.worldview.object.ILocated location)
getNearestProjectile
public cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectile getNearestProjectile(cz.cuni.amis.pogamut.base3d.worldview.object.ILocated location,
double maxDistance)
getNearestProjectile
public cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectile getNearestProjectile(cz.cuni.amis.pogamut.base3d.worldview.object.ILocated location,
cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType type)
getProjectiles
public abstract Collection<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectile> getProjectiles(cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType type)
getNearestProjectile
public cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.IncomingProjectile getNearestProjectile(cz.cuni.amis.pogamut.base3d.worldview.object.ILocated location,
double maxDistance,
cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType type)
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.