| Package | Description |
|---|---|
| cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric | |
| cz.cuni.amis.pogamut.ut2004.agent.module.sensor |
Utility classes concerning some aspects of the gameplay (mainly for UT).
|
| cz.cuni.amis.pogamut.ut2004.communication.messages |
Java wrappers for the message objects send by the GameBots2004 and GameBotsUE2.
|
| Modifier and Type | Method and Description |
|---|---|
ItemType.Group |
Weapon.getGroup()
Returns group of the weapon.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Weaponry.hasWeapon(ItemType.Group weaponGroup)
Tells, whether a weapon from the specific group is in the agent's inventory.
|
boolean |
Weaponry.isLoaded(ItemType.Group weaponGroup)
Tells, whether a weapon from a specific group is in the agent's inventory && is loaded (has at least 1 primary or secondary ammo).
|
| Modifier and Type | Method and Description |
|---|---|
Map<UnrealId,Item> |
Items.getAllItems(ItemType.Group group)
Retrieves map of all items belonging to a specific 'group' of items, which
includes all known pickups.
|
Map<UnrealId,Item> |
AdvancedItems.getAllItems(ItemType.Group group,
double usefulness)
Retrieves map of all items of specific group (both known and thrown).
|
Map<UnrealId,Item> |
Items.getKnownPickups(ItemType.Group group)
Retrieves map of all known pickups belonging to a specific 'group' of items, which
includes all known pickups.
|
Map<UnrealId,Item> |
AdvancedItems.getKnownPickups(ItemType.Group group,
double usefulness)
Retrieves map of all item pickup points of items of a specific group.
|
Map<UnrealId,Item> |
Items.getSpawnedItems(ItemType.Group group)
Uses
Items.isPickupSpawned(Item) to return all items belonging to a specific 'group' that are believed to
be currently spawned. |
Map<UnrealId,Item> |
AdvancedItems.getSpawnedItems(ItemType.Group group,
double usefulness)
Returns a filtered list of items of a specific group that are guessed to be currently spawned in the map.
|
Map<UnrealId,Item> |
Items.getVisibleItems(ItemType.Group group)
Retrieves map of visible items belonging to a specific 'group' of items, which
includes all known pickups.
|
Map<UnrealId,Item> |
AdvancedItems.getVisibleItems(ItemType.Group group,
double usefulness)
Retrieves map of all visible items of specific group.
|
| Modifier and Type | Field and Description |
|---|---|
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 |
|---|---|
ItemType.Group |
ItemType.getGroup()
Retreives group of the item type.
|
static ItemType.Group |
ItemType.Group.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemType.Group[] |
ItemType.Group.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static ItemType |
ItemType.MakePrototype(ItemType.Category category,
ItemType.Group group,
String[] utNames)
Proto-constructor.
|
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.