cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric
Class UT2004Weaponry

Package class diagram package UT2004Weaponry
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
      extended by cz.cuni.amis.pogamut.base.agent.module.SensomotoricModule<UT2004Bot>
          extended by cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.Weaponry
              extended by cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.UT2004Weaponry
All Implemented Interfaces:
IComponent

public class UT2004Weaponry
extends Weaponry

Handles specific needs of UT2004 with regards to weaponry. Currently fixes broken item descriptors.

Author:
mpkorstanje

Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.SensomotoricModule
act, worldView
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule
agent, controller, eventBus, log
 
Constructor Summary
UT2004Weaponry(UT2004Bot bot, ItemDescriptors itemDescriptors)
          Constructor.
UT2004Weaponry(UT2004Bot bot, ItemDescriptors descriptors, LogCategory moduleLog)
          Constructor.
 
Method Summary
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.Weaponry
changeWeapon, changeWeapon, cleanUp, getAmmo, getAmmos, getCurrentAlternateAmmo, getCurrentAmmo, getCurrentPrimaryAmmo, getCurrentWeapon, getDescriptorForId, getItemTypeForId, getLoadedMeleeWeapons, getLoadedRangedWeapons, getLoadedWeapons, getMaxAmmo, getMeleeWeapons, getPrimaryWeaponAmmo, getPrimaryWeaponAmmoType, getRangedWeapons, getSecondaryWeaponAmmo, getSecondaryWeaponAmmoType, getWeapon, getWeaponAmmo, getWeaponDescriptor, getWeaponForAmmo, getWeaponInventoryId, getWeaponInventoryId, getWeapons, hasAmmo, hasAmmoForWeapon, hasLoadedMeleeWeapon, hasLoadedRangedWeapon, hasLoadedWeapon, hasLoadedWeapon, hasLowAmmoForWeapon, hasPrimaryLoadedWeapon, hasPrimaryLowAmmoForWeapon, hasPrimaryWeaponAmmo, hasSecondaryAmmoType, hasSecondaryLoadedWeapon, hasSecondaryLowAmmoForWeapon, hasSecondaryWeaponAmmo, hasWeapon, hasWeapon, hasWeaponAmmo, isLoaded, isLoaded
 
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

UT2004Weaponry

public UT2004Weaponry(UT2004Bot bot,
                      ItemDescriptors descriptors,
                      LogCategory moduleLog)
Constructor. Setups the memory module for a given bot.

Parameters:
bot - owner of the module that is using it
agentInfo - AgentInfo memory module.
itemDescriptors - ItemDescriptors memory module.
moduleLog -

UT2004Weaponry

public UT2004Weaponry(UT2004Bot bot,
                      ItemDescriptors itemDescriptors)
Constructor. Setups the memory module for a given bot.

Parameters:
bot - owner of the module that is using it
agentInfo - AgentInfo memory module.
itemDescriptors - ItemDescriptors memory module.


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