| Package | Description |
|---|---|
| cz.cuni.amis.pogamut.udk.agent.module.sensomotoric |
| Modifier and Type | Method and Description |
|---|---|
Weapon |
Weaponry.getCurrentWeapon()
Retrieves current weapon from the agent's inventory.
|
Weapon |
Weaponry.getWeapon(ItemType weaponType)
Returns
Weapon instance for given 'weaponType' if the bot posses it. |
| Modifier and Type | Method and Description |
|---|---|
Map<ItemType,Weapon> |
Weaponry.getLoadedMeleeWeapons()
Retrieves loaded melee weapons from the agent's inventory.
|
Map<ItemType,Weapon> |
Weaponry.getLoadedRangedWeapons()
Retrieves loaded ranged weapons from the agent's inventory.
|
Map<ItemType,Weapon> |
Weaponry.getLoadedWeapons()
Retrieves all loaded weapons from the agent's inventory.
|
Map<ItemType,Weapon> |
Weaponry.getMeleeWeapons()
Retrieves melee weapons from the agent's inventory.
|
Map<ItemType,Weapon> |
Weaponry.getRangedWeapons()
Retrieves ranged weapons from the agent's inventory.
|
Map<ItemType,Weapon> |
Weaponry.getWeapons()
Retrieves all weapons from the agent's inventory.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Weaponry.changeWeapon(Weapon weapon)
Changes the weapon the bot is currently holding (if the weapon's ammo is > 0).
|
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.