| Package | Description |
|---|---|
| cz.cuni.amis.pogamut.ut2004.agent.module.sensor |
Utility classes concerning some aspects of the gameplay (mainly for UT).
|
| Modifier and Type | Field and Description |
|---|---|
protected WeaponPrefsRange |
WeaponPrefs.generalPrefs |
| Modifier and Type | Field and Description |
|---|---|
protected List<WeaponPrefsRange> |
WeaponPrefs.prefs |
| Modifier and Type | Method and Description |
|---|---|
WeaponPrefsRange |
WeaponPrefsRange.add(ItemType weapon,
boolean usePrimaryMode)
Adds another weapon as "the least preferable" one, i.e., you may define
weapons from the most preferred to the least preferred by sequentially calling this method.
|
WeaponPrefsRange |
WeaponPrefsRange.add(Weapon weapon,
boolean usePrimaryMode)
Adds another weapon as "the least preferable" one, i.e., you may define
weapons from the most preferred to the least preferred by sequentially calling this method.
|
protected WeaponPrefsRange |
WeaponPrefs.getPreviousRange(WeaponPrefsRange weaponPrefsRange)
Get range that is right after "weaponPrefsRange".
|
WeaponPrefsRange |
WeaponPrefs.getWeaponPreferences(double distance)
Get preferences for a given distance.
|
WeaponPrefsRange |
WeaponPrefs.newPrefsRange(double maxDistance)
Creates new
WeaponPrefsRange, these weapon will be used when the target is at "maxDistance" afar. |
| Modifier and Type | Method and Description |
|---|---|
protected WeaponPrefsRange |
WeaponPrefs.getPreviousRange(WeaponPrefsRange weaponPrefsRange)
Get range that is right after "weaponPrefsRange".
|
| Constructor and Description |
|---|
WeaponPrefs(Weaponry weaponry,
UT2004Bot bot,
WeaponPrefsRange generalPrefs) |
WeaponPrefsRange(WeaponPrefs owner,
WeaponPrefsRange prefs) |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.