| Package | Description |
|---|---|
| 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 |
| Modifier and Type | Field and Description |
|---|---|
protected WeaponPrefs |
WeaponPrefs.onlyGeneral |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
WeaponPrefsRange(WeaponPrefs owner,
double maxDistance) |
WeaponPrefsRange(WeaponPrefs owner,
WeaponPrefsRange prefs) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Field and Description |
|---|---|
protected WeaponPrefs |
UT2004BotModuleController.weaponPrefs
Weapon preferences for your bot.
|
| Modifier and Type | Method and Description |
|---|---|
WeaponPrefs |
UT2004BotModuleController.getWeaponPrefs() |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.