| Package | Description |
|---|---|
| cz.cuni.amis.pogamut.udk.agent.module.sensomotoric | |
| cz.cuni.amis.pogamut.udk.agent.module.sensor |
Utility classes concerning some aspects of the gameplay (mainly for UT).
|
| cz.cuni.amis.pogamut.udk.communication.messages |
Java wrappers for the message objects send by the GameBotsUDK.
|
| cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages | |
| cz.cuni.amis.pogamut.udk.communication.translator.itemdescriptor |
| Modifier and Type | Field and Description |
|---|---|
protected ItemType |
Weapon.weaponType |
| Modifier and Type | Method and Description |
|---|---|
ItemType |
Weaponry.getItemTypeForId(UnrealId inventoryWeaponId)
Returns an item type for a given inventory
UnrealId of the weapon. |
ItemType |
Weaponry.getPrimaryWeaponAmmoType(ItemType weaponType)
Return primary-ammo
ItemType for a weapon. |
ItemType |
Weaponry.getSecondaryWeaponAmmoType(ItemType weaponType)
Return secondary-ammo
ItemType for a weapon. |
ItemType |
Weapon.getType()
Returns type of the weapon.
|
ItemType |
Weaponry.getWeaponForAmmo(ItemType priOrSecAmmoType)
Returns weaponType for a given ammoType (regardles whether it is primary or secondary ammo type).
|
| Modifier and Type | Method and Description |
|---|---|
Map<ItemType,Integer> |
Weaponry.getAmmos()
Returns a map with current state of ammo (ammo for owned weapons as well
as ammo for weapons that the bot do not have yet).
|
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(ItemType weaponType)
Changes the weapon the bot is currently holding (if the bot has the weapon and its ammo > 0).
|
int |
Weaponry.getAmmo(ItemType ammoOrWeaponType)
Returns an amount of ammo of 'ammoOrWeaponType' the bot currently has.
|
int |
Weaponry.getMaxAmmo(ItemType ammoType)
Returns max ammo that the bot may have for a specified ammo type.
|
int |
Weaponry.getPrimaryWeaponAmmo(ItemType weaponType)
Returns an amount of primary ammo of a given 'weaponType' the bot currently has.
|
ItemType |
Weaponry.getPrimaryWeaponAmmoType(ItemType weaponType)
Return primary-ammo
ItemType for a weapon. |
int |
Weaponry.getSecondaryWeaponAmmo(ItemType weaponType)
Returns an amount of secondary ammo of a given 'weaponType' the bot currently has.
|
ItemType |
Weaponry.getSecondaryWeaponAmmoType(ItemType weaponType)
Return secondary-ammo
ItemType for a weapon. |
Weapon |
Weaponry.getWeapon(ItemType weaponType)
Returns
Weapon instance for given 'weaponType' if the bot posses it. |
int |
Weaponry.getWeaponAmmo(ItemType weaponType)
Returns an amount of primary+secondary ammo of a given 'weaponType' the bot currently has.
|
WeaponDescriptor |
Weaponry.getWeaponDescriptor(ItemType weaponType)
Returns a
WeaponDescriptor for a given 'weaponType' (if it is not a weapon, returns null). |
ItemType |
Weaponry.getWeaponForAmmo(ItemType priOrSecAmmoType)
Returns weaponType for a given ammoType (regardles whether it is primary or secondary ammo type).
|
UnrealId |
Weaponry.getWeaponInventoryId(ItemType weaponType)
Returns inventory
UnrealId of the weapon the bot has inside its inventory (if the bot does not have
it, returns null). |
boolean |
Weaponry.hasAmmo(ItemType ammoType)
Tells whether the bot has an ammo of 'ammoType'.
|
boolean |
Weaponry.hasAmmoForWeapon(ItemType weaponType)
Alias for
Weaponry.hasWeaponAmmo(ItemType). |
boolean |
Weaponry.hasLoadedWeapon(ItemType weapon)
Whether the bot possess 'weapon' that has primary or secondary ammo.
|
boolean |
Weaponry.hasLowAmmoForWeapon(ItemType weaponType,
double lowRatio)
Tells whether the bot has low-ammo for "weaponType" (either primary/secondary).
|
boolean |
Weaponry.hasPrimaryLoadedWeapon(ItemType weapon)
Whether the bot possess 'weapon' that has primary ammo.
|
boolean |
Weaponry.hasPrimaryLowAmmoForWeapon(ItemType weaponType,
double lowRatio)
Tells whether the bot has primary low-ammo for "weaponType"
|
boolean |
Weaponry.hasPrimaryWeaponAmmo(ItemType weaponType)
Tells whether the bot has a primary ammo for a given 'weaponType'.
|
boolean |
Weaponry.hasSecondaryAmmoType(ItemType weaponType)
Whether the weapon has secondary ammo different from the primary.
|
boolean |
Weaponry.hasSecondaryLoadedWeapon(ItemType weapon)
Whether the bot possess 'weapon' that has secondary ammo.
|
boolean |
Weaponry.hasSecondaryLowAmmoForWeapon(ItemType weaponType,
double lowRatio)
Tells whether the bot has secondary low-ammo for "weaponType"
|
boolean |
Weaponry.hasSecondaryWeaponAmmo(ItemType weaponType)
Tells whether the bot has a secondary ammo for a given 'weaponType'.
|
boolean |
Weaponry.hasWeapon(ItemType weaponType)
Tells, whether specific weapon is in the agent's inventory.
|
boolean |
Weaponry.hasWeaponAmmo(ItemType weaponType)
Tells whether the bot has an ammo (either primary or secondary) for a given 'weaponType'.
|
boolean |
Weaponry.isLoaded(ItemType weaponType)
Tells, whether specific weapon is in the agent's inventory && is loaded (has at least 1 primary or secondary ammo).
|
| Modifier and Type | Method and Description |
|---|---|
ItemType |
ItemDescriptors.getWeaponForAmmo(ItemType ammoType)
Returns a weapon type for the given 'ammoType'.
|
| Modifier and Type | Method and Description |
|---|---|
Map<UnrealId,Item> |
Items.getAllItems(ItemType type)
Retrieves list of all items of specific type.
|
Map<UnrealId,Item> |
AdvancedItems.getAllItems(ItemType type,
double usefulness)
Retrieves map of all items of specific type (both known and thrown).
|
ItemDescriptor |
ItemDescriptors.getDescriptor(ItemType itemType)
Returns the descriptor for the given 'itemType'.
|
double |
Items.getItemRespawnTime(ItemType itemType)
Returns how fast are the items respawning based on their item type.
|
Map<UnrealId,Item> |
Items.getKnownPickups(ItemType type)
Retrieves list of all known item pickup points of specific type.
|
Map<UnrealId,Item> |
AdvancedItems.getKnownPickups(ItemType type,
double usefulness)
Retrieves map of all item pickup points of items of a specific type.
|
Map<UnrealId,Item> |
Items.getReachableItems(ItemType type)
Retrieves list of all reachable items of specific type, which includes all reachable
known pickups and all reachable and visible thrown items.
|
Map<UnrealId,Item> |
AdvancedItems.getReachableItems(ItemType type,
double usefulness)
Retrieves map of all reachable items of a specific type.
|
Map<UnrealId,Item> |
Items.getSpawnedItems(ItemType type)
Uses
Items.isPickupSpawned(Item) to return all items of 'type' that are believed to
be currently spawned. |
Map<UnrealId,Item> |
AdvancedItems.getSpawnedItems(ItemType type,
double usefulness)
Returns a filtered list of items of a specific type that are guessed to be currently spawned in the map.
|
Map<UnrealId,Item> |
Items.getVisibleItems(ItemType type)
Retreives list of all visible items of specific type, which includes all visible known
pickups and all visible thrown items.
|
Map<UnrealId,Item> |
AdvancedItems.getVisibleItems(ItemType type,
double usefulness)
Retrieves map of all visible items of specific type.
|
ItemType |
ItemDescriptors.getWeaponForAmmo(ItemType ammoType)
Returns a weapon type for the given 'ammoType'.
|
boolean |
ItemDescriptors.hasDescriptor(ItemType itemType)
Tells whether the descriptor for given 'itemType' exists.
|
| Modifier and Type | Field and Description |
|---|---|
static ItemType |
ItemType.AVRIL
Avril weapon
|
static ItemType |
ItemType.AVRIL_AMMO
Avril ammo
|
static ItemType |
ItemType.BASE_ARMOR
Base armor.
|
static ItemType |
ItemType.BIORIFLE
Biorifle weapon
|
static ItemType |
ItemType.BIORIFLE_AMMO
Biorifle ammo
|
static ItemType |
ItemType.ENFORCER
Enforcer weapon
|
static ItemType |
ItemType.ENFORCER_AMMO
Enforcer ammo
|
static ItemType |
ItemType.FLAK_CANNON
FlakCannon weapon
|
static ItemType |
ItemType.FLAK_CANNON_AMMO
FlakCannon ammo
|
static ItemType |
ItemType.HEALTH_PACK
Health pack.
|
static ItemType |
ItemType.HEALTH_VIAL
Health vial.
|
static ItemType |
ItemType.IMPACT_HAMMER
ImpactHammer weapon
|
static ItemType |
ItemType.INSTAGIBRIFLE
InstagibRifle weapon
|
static ItemType |
ItemType.INSTAGIBRIFLE_AMMO
InstagibRifle ammo
|
static ItemType |
ItemType.JUMP_BOOTS
UDamage bonus (damage multiplier).
|
static ItemType |
ItemType.LINK_GUN
LinkGun weapon.
|
static ItemType |
ItemType.LINK_GUN_AMMO
LinkGun ammo.
|
static ItemType |
ItemType.NONE
No ItemType
|
static ItemType |
ItemType.REDEEMER
Redeemer weapon
|
static ItemType |
ItemType.REDEEMER_AMMO
Redeemer ammo
|
static ItemType |
ItemType.ROCKET_LAUNCHER
RocketLauncher weapon.
|
static ItemType |
ItemType.ROCKET_LAUNCHER_AMMO
RocketLauncher ammo.
|
static ItemType |
ItemType.SHIELD_BELT
Shield belt.
|
static ItemType |
ItemType.SHOCK_RIFLE
ShockRifle weapon.
|
static ItemType |
ItemType.SHOCK_RIFLE_AMMO
ShockRifle ammo.
|
static ItemType |
ItemType.SNIPERRIFLE
SniperRifle weapon
|
static ItemType |
ItemType.SNIPERRIFLE_AMMO
SniperRifle ammo
|
static ItemType |
ItemType.STINGER
Stinger weapon
|
static ItemType |
ItemType.STINGER_AMMO
Stinger ammo
|
static ItemType |
ItemType.THIGH_PAD
Thigh pad.
|
static ItemType |
ItemType.TRANSLOCATOR
Translocator weapon
|
static ItemType |
ItemType.UDAMAGE
UDamage bonus (damage multiplier).
|
static ItemType |
ItemType.WEAPON_LOCKER
Weapons locker
|
| Modifier and Type | Field and Description |
|---|---|
static cz.cuni.amis.utils.maps.HashMapSet<ItemType.Category,ItemType> |
ItemType.CATEGORIES
Contains item types that belongs to their categories.
|
static cz.cuni.amis.utils.maps.HashMapSet<ItemType.Group,ItemType> |
ItemType.GROUPS
Contains item types that belongs to their groups.
|
| Modifier and Type | Method and Description |
|---|---|
static ItemType |
ItemType.getItemType(String utName)
Retrieves an ItemType for the specified item type name.
|
static ItemType |
ItemType.MakePrototype(ItemType.Category category,
ItemType.Group group,
String[] utNames)
Proto-constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ItemType> |
ItemType.Category.getTypes()
Return all item types of a certain category.
|
Set<ItemType> |
ItemType.Group.getTypes() |
| Modifier and Type | Field and Description |
|---|---|
protected ItemType |
NavPoint.ItemClass
Class of the item (e.g.
|
protected ItemType |
ItemCategory.PickupType
By this class the item is represented in the map.
|
protected ItemType |
AddInventoryMsg.PickupType
We get this item if we pick up this pickup class in the map.
|
protected ItemType |
MyInventory.Type
Class of the item (e.g.
|
protected ItemType |
ItemPickedUp.Type
Class of the item (e.g.
|
protected ItemType |
Item.Type
Class of the item (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
ItemType |
NavPoint.getItemClass()
Class of the item (e.g.
|
ItemType |
ItemCategory.getPickupType()
By this class the item is represented in the map.
|
ItemType |
AddInventoryMsg.getPickupType()
We get this item if we pick up this pickup class in the map.
|
ItemType |
MyInventory.getType()
Class of the item (e.g.
|
ItemType |
ItemPickedUp.getType()
Class of the item (e.g.
|
ItemType |
ItemCategory.getType() |
ItemType |
Item.getType()
Class of the item (e.g.
|
protected ItemType |
Yylex.itemTypeValue(String txt)
Return an ItemType instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected ItemDescriptor |
Yylex.itemDescriptorValue(ItemType type) |
| Constructor and Description |
|---|
AddInventoryMsg(UnrealId Id,
String Type,
ItemDescriptor Descriptor,
ItemType PickupType)
Creates new instance of command AddInventoryMsg.
|
Item(UnrealId Id,
UnrealId NavPointId,
NavPoint NavPoint,
boolean Visible,
Location Location,
boolean Reachable,
int Amount,
ItemType Type,
ItemDescriptor Descriptor,
boolean Dropped)
Creates new instance of command Item.
|
ItemCategory(String InventoryType,
ItemType PickupType,
ItemType.Category ItemCategory,
boolean Melee,
boolean Sniping,
boolean UsesAltAmmo,
String PriFireModeType,
boolean PriSplashDamage,
boolean PriSplashJump,
boolean PriRecomSplashDamage,
boolean PriTossed,
boolean PriLeadTarget,
boolean PriInstantHit,
boolean PriFireOnRelease,
boolean PriWaitForRelease,
boolean PriModeExclusive,
double PriFireRate,
double PriBotRefireRate,
int PriAmmoPerFire,
int PriAmmoClipSize,
double PriAimError,
double PriSpread,
int PriSpreadStyle,
int PriFireCount,
double PriDamageAtten,
String PriAmmoType,
int PriInitialAmount,
int PriMaxAmount,
double PriMaxRange,
String PriDamageType,
boolean PriArmorStops,
boolean PriAlwaysGibs,
boolean PriSpecial,
boolean PriDetonatesGoop,
boolean PriSuperWeapon,
boolean PriExtraMomZ,
String PriProjType,
double PriDamage,
double PriDamageMax,
double PriDamageMin,
double PriSpeed,
double PriMaxSpeed,
double PriLifeSpan,
double PriDamageRadius,
double PriTossZ,
double PriMaxEffectDistance,
String SecFireModeType,
boolean SecSplashDamage,
boolean SecSplashJump,
boolean SecRecomSplashDamage,
boolean SecTossed,
boolean SecLeadTarget,
boolean SecInstantHit,
boolean SecFireOnRelease,
boolean SecWaitForRelease,
boolean SecModeExclusive,
double SecFireRate,
double SecBotRefireRate,
int SecAmmoPerFire,
int SecAmmoClipSize,
double SecAimError,
double SecSpread,
int SecSpreadStyle,
int SecFireCount,
double SecDamageAtten,
String SecAmmoType,
int SecInitialAmount,
int SecMaxAmount,
double SecMaxRange,
String SecDamageType,
boolean SecArmorStops,
boolean SecAlwaysGibs,
boolean SecSpecial,
boolean SecDetonatesGoop,
boolean SecSuperWeapon,
boolean SecExtraMomZ,
String SecProjType,
double SecDamage,
double SecDamageMax,
double SecDamageMin,
double SecSpeed,
double SecMaxSpeed,
double SecLifeSpan,
double SecDamageRadius,
double SecTossZ,
double SecMaxEffectDistance,
int Amount,
boolean SuperHeal)
Creates new instance of command ItemCategory.
|
ItemPickedUp(UnrealId Id,
UnrealId InventoryId,
Location Location,
int Amount,
int AmountSec,
ItemType Type,
ItemDescriptor Descriptor,
Boolean Dropped)
Creates new instance of command ItemPickedUp.
|
MyInventory(UnrealId Id,
int CurrentAmmo,
int CurrentAltAmmo,
int Amount,
ItemType Type,
ItemDescriptor Descriptor)
Creates new instance of command MyInventory.
|
NavPoint(UnrealId Id,
Location Location,
Velocity Velocity,
boolean Visible,
UnrealId Item,
ItemType ItemClass,
boolean ItemSpawned,
boolean DoorOpened,
UnrealId Mover,
javax.vecmath.Vector3d LiftOffset,
boolean LiftJumpExit,
boolean NoDoubleJump,
boolean InvSpot,
boolean PlayerStart,
int TeamNumber,
boolean Door,
boolean LiftCenter,
boolean LiftExit,
boolean AIMarker,
boolean JumpSpot,
boolean JumpDest,
boolean Teleporter,
Rotation Rotation,
boolean RoamingSpot,
boolean SnipingSpot,
Item ItemInstance,
Map<UnrealId,NavPointNeighbourLink> OutgoingEdges,
Map<UnrealId,NavPointNeighbourLink> IncomingEdges,
String PreferedWeapon,
int FlagOfTeam)
Creates new instance of command NavPoint.
|
| Modifier and Type | Method and Description |
|---|---|
ItemType[] |
ItemTranslator.getItemTypes() |
ItemType |
ItemDescriptor.getPickupType() |
ItemType |
WeaponDescriptor.getPriAmmoItemType() |
ItemType |
WeaponDescriptor.getSecAmmoItemType() |
ItemType |
ItemTyped.getType()
Returns ItemType as injected by ItemTranslator.
|
| Modifier and Type | Method and Description |
|---|---|
ItemDescriptor |
ItemTranslator.getDefaultDescriptor(ItemType type)
Gets default Pogamut descriptor for this item.
|
ItemDescriptor |
ItemTranslator.getDescriptor(ItemType type)
Gets descriptor for this item.
|
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.