cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric
Class UT2004Weaponry
java.lang.Object
cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
cz.cuni.amis.pogamut.base.agent.module.SensomotoricModule<UT2004Bot>
cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.Weaponry
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
Methods inherited from class cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.Weaponry |
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, changeWeapon, changeWeapon, 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 |
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 itagentInfo
- 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 itagentInfo
- 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.