Uses of Class
cz.cuni.amis.pogamut.ut2004.agent.module.sensor.WeaponPrefs

Packages that use WeaponPrefs
cz.cuni.amis.pogamut.ut2004.agent.module.sensor Utility classes concerning some aspects of the gameplay (mainly for UT). 
cz.cuni.amis.pogamut.ut2004.bot.command Utility classes wrapping various command messages. 
cz.cuni.amis.pogamut.ut2004.bot.impl   
 

Uses of WeaponPrefs in cz.cuni.amis.pogamut.ut2004.agent.module.sensor
 

Fields in cz.cuni.amis.pogamut.ut2004.agent.module.sensor declared as WeaponPrefs
protected  WeaponPrefs WeaponPrefs.onlyGeneral
           
 

Methods in cz.cuni.amis.pogamut.ut2004.agent.module.sensor that return WeaponPrefs
 WeaponPrefs WeaponPrefs.addGeneralPref(ItemType weapon, boolean usePrimaryMode)
          Adds another weapon as "the least preferable" one into general-preferences (used if no weapons are found for a given range) You may define weapons from the most preferred to the least preferred by sequentially calling this method.
 WeaponPrefs WeaponPrefs.addGeneralPref(Weapon weapon, boolean usePrimaryMode)
          Adds another weapon as "the least preferable" one into general-preferences (used if no weapons are found for a given range) You may define weapons from the most preferred to the least preferred by sequentially calling this method.
 WeaponPrefs WeaponPrefs.asGeneralOnly()
          Return weapon preferences that has only "general" weapon preferences, might come in handy.
 WeaponPrefs WeaponPrefsRange.getOwner()
          Owner of this preferences.
 

Constructors in cz.cuni.amis.pogamut.ut2004.agent.module.sensor with parameters of type WeaponPrefs
WeaponPrefsRange(WeaponPrefs owner, double maxDistance)
           
WeaponPrefsRange(WeaponPrefs owner, WeaponPrefsRange prefs)
           
 

Uses of WeaponPrefs in cz.cuni.amis.pogamut.ut2004.bot.command
 

Methods in cz.cuni.amis.pogamut.ut2004.bot.command with parameters of type WeaponPrefs
 WeaponPref ImprovedShooting.changeWeapon(WeaponPrefs weaponPrefs, double distance, ItemType... forbiddenWeapons)
          Arms the best weapon according to distance from 'weaponPrefs'.
 WeaponPref ImprovedShooting.changeWeapon(WeaponPrefs weaponPrefs, ILocated target, ItemType... forbiddenWeapons)
          Arms the best weapon according to distance from 'weaponPrefs'.
 WeaponPref ImprovedShooting.changeWeapon(WeaponPrefs weaponPrefs, ItemType... forbiddenWeapons)
          Arms the best weapon according to general preferences in 'weaponPrefs'.
 WeaponPref ImprovedShooting.changeWeaponNow(WeaponPrefs weaponPrefs, double distance, ItemType... forbiddenWeapons)
          Arms the best weapon according to distance from 'weaponPrefs'.
 WeaponPref ImprovedShooting.changeWeaponNow(WeaponPrefs weaponPrefs, ILocated target, ItemType... forbiddenWeapons)
          Arms the best weapon according to distance from 'weaponPrefs'.
 WeaponPref ImprovedShooting.changeWeaponNow(WeaponPrefs weaponPrefs, ItemType... forbiddenWeapons)
          Arms the best weapon according to general preferences in 'weaponPrefs'.
 WeaponPref ImprovedShooting.shoot(WeaponPrefs prefs, ILocated target, ItemType... forbiddenWeapon)
          Will start shooting with the best weapon (according to 'prefs') at target.
 WeaponPref ImprovedShooting.shootNow(WeaponPrefs prefs, ILocated target, ItemType... forbiddenWeapon)
          Will start shooting with the best weapon (according to 'prefs') at target.
 

Uses of WeaponPrefs in cz.cuni.amis.pogamut.ut2004.bot.impl
 

Fields in cz.cuni.amis.pogamut.ut2004.bot.impl declared as WeaponPrefs
protected  WeaponPrefs UT2004BotModuleController.weaponPrefs
          Weapon preferences for your bot.
 

Methods in cz.cuni.amis.pogamut.ut2004.bot.impl that return WeaponPrefs
 WeaponPrefs UT2004BotModuleController.getWeaponPrefs()
           
 



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