|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Weapon | |
|---|---|
| cz.cuni.amis.pogamut.udk.agent.module.sensomotoric | |
| Uses of Weapon in cz.cuni.amis.pogamut.udk.agent.module.sensomotoric |
|---|
| Methods in cz.cuni.amis.pogamut.udk.agent.module.sensomotoric that return Weapon | |
|---|---|
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. |
| Methods in cz.cuni.amis.pogamut.udk.agent.module.sensomotoric that return types with arguments of type Weapon | |
|---|---|
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. |
| Methods in cz.cuni.amis.pogamut.udk.agent.module.sensomotoric with parameters of type Weapon | |
|---|---|
boolean |
Weaponry.changeWeapon(Weapon weapon)
Changes the weapon the bot is currently holding (if the weapon's ammo is > 0). |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||