nl.tudelft.pogamut.ut2004.agent.module.shooting.weapon
Class IonPainterShooting

Package class diagram package IonPainterShooting
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 nl.tudelft.pogamut.unreal.agent.module.shooting.AbstractWeaponShooting
              extended by nl.tudelft.pogamut.ut2004.agent.module.shooting.weapon.IonPainterShooting
All Implemented Interfaces:
cz.cuni.amis.pogamut.base.component.IComponent, nl.tudelft.pogamut.unreal.agent.module.shooting.WeaponShooting

public class IonPainterShooting
extends nl.tudelft.pogamut.unreal.agent.module.shooting.AbstractWeaponShooting

Module to work efficiently with the Ion Painter.

Author:
mpkorstanje

Field Summary
protected static WeaponPref DEFAULT_WEAPON_PREF
           
protected static int ION_PAINTER_CHARGE_TIME
           
 
Fields inherited from class nl.tudelft.pogamut.unreal.agent.module.shooting.AbstractWeaponShooting
ABOVE_PLAYER_OFFSET, active, BELOW_PLAYER_OFFSET, endMessageListener, FACING_ANGLE, focus, info, shoot, target, weaponPref, 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
IonPainterShooting(UT2004Bot<?,?,?> agent, AgentInfo info, ImprovedShooting shoot, Weaponry weaponry)
           
 
Method Summary
protected  WeaponPref getDefaultWeaponPref()
           
protected  void shoot()
           
 
Methods inherited from class nl.tudelft.pogamut.unreal.agent.module.shooting.AbstractWeaponShooting
getFocus, getWeaponType, hasTarget, isActive, isWeaponReady, setFocus, shoot, stopShoot
 
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

DEFAULT_WEAPON_PREF

protected static final WeaponPref DEFAULT_WEAPON_PREF

ION_PAINTER_CHARGE_TIME

protected static int ION_PAINTER_CHARGE_TIME
Constructor Detail

IonPainterShooting

public IonPainterShooting(UT2004Bot<?,?,?> agent,
                          AgentInfo info,
                          ImprovedShooting shoot,
                          Weaponry weaponry)
Method Detail

shoot

protected void shoot()
Specified by:
shoot in class nl.tudelft.pogamut.unreal.agent.module.shooting.AbstractWeaponShooting

getDefaultWeaponPref

protected WeaponPref getDefaultWeaponPref()
Specified by:
getDefaultWeaponPref in class nl.tudelft.pogamut.unreal.agent.module.shooting.AbstractWeaponShooting


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