| 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.agent.navigation |
Navigation API for Unreal.
|
| cz.cuni.amis.pogamut.ut2004.agent.navigation.floydwarshall | |
| cz.cuni.amis.pogamut.ut2004.bot.command |
Utility classes wrapping various command messages.
|
| cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages | |
| cz.cuni.amis.pogamut.ut2004.communication.translator | |
| cz.cuni.amis.pogamut.ut2004.communication.translator.shared.events |
| Modifier and Type | Method and Description |
|---|---|
Item |
Items.getItem(String stringUnrealId)
Retrieves a specific item from the all items in the map.
|
Item |
Items.getItem(UnrealId id)
Retrieves a specific item from the all items in the map.
|
Item |
Items.getKnownPickup(String stringUnrealId)
Retrieves a specific pickup point.
|
Item |
Items.getKnownPickup(UnrealId id)
Retrieves a specific pickup point.
|
Item |
AgentInfo.getNearestItem()
Retrieves nearest known item to current agent location.
|
Item |
AgentInfo.getNearestVisibleItem()
Retrieves nearest visible item to current agent location.
|
Item |
Items.getRandomItem()
Returns random item from 'all' items.
|
Item |
Items.getVisibleItem(String stringUnrealId)
Retrieves a specific item from the visible items in the map.
|
Item |
Items.getVisibleItem(UnrealId id)
Retrieves a specific item from the visible items in the map.
|
| Modifier and Type | Method and Description |
|---|---|
Map<UnrealId,Item> |
AdvancedItems.filterUsefulItems(Collection<Item> items,
double usefulness)
Determines, whether an item can be useful for the agent.
|
Map<UnrealId,Item> |
Items.getAllItems()
Retrieves list of all items, which includes all known pickups and all
visible thrown items.
|
Map<UnrealId,Item> |
AdvancedItems.getAllItems(double usefulness)
Retrieves map of all items (both known and thrown).
|
Map<UnrealId,Item> |
Items.getAllItems(ItemType.Category category)
Retrieves map of all items belonging to a specific 'category' of items, which
includes all known pickups.
|
Map<UnrealId,Item> |
AdvancedItems.getAllItems(ItemType.Category category,
double usefulness)
Retrieves map of all items of specific category (both known and thrown).
|
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.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).
|
Map<UnrealId,Item> |
Items.getKnownPickups()
Retrieves list of all known item pickup points.
|
Map<UnrealId,Item> |
AdvancedItems.getKnownPickups(double usefulness)
Retrieves map of all item pickup points.
|
Map<UnrealId,Item> |
Items.getKnownPickups(ItemType.Category category)
Retrieves map of all known pickups belonging to a specific 'category' of items, which
includes all known pickups.
|
Map<UnrealId,Item> |
AdvancedItems.getKnownPickups(ItemType.Category category,
double usefulness)
Retrieves map of all item pickup points of items of a specific category.
|
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.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.getSpawnedItems()
Uses
Items.isPickupSpawned(Item) to return all items that are believed to
be currently spawned. |
Map<UnrealId,Item> |
AdvancedItems.getSpawnedItems(double usefulness)
Returns a filtered list of items that are guessed to be currently spawned in the map.
|
Map<UnrealId,Item> |
Items.getSpawnedItems(ItemType.Category category)
Uses
Items.isPickupSpawned(Item) to return all items belonging to a specific 'category' that are believed to
be currently spawned. |
Map<UnrealId,Item> |
AdvancedItems.getSpawnedItems(ItemType.Category category,
double usefulness)
Returns a filtered list of items of a specific category that are guessed to be currently spawned in the map.
|
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.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()
Retreives list of all visible items, which includes all visible known
pickups and all visible thrown items.
|
Map<UnrealId,Item> |
AdvancedItems.getVisibleItems(double usefulness)
Retrieves map of all visible items.
|
Map<UnrealId,Item> |
Items.getVisibleItems(ItemType.Category category)
Retrieves map of visible items belonging to a specific 'category' of items, which
includes all known pickups.
|
Map<UnrealId,Item> |
AdvancedItems.getVisibleItems(ItemType.Category category,
double usefulness)
Retrieves map of all visible items of specific category.
|
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.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
double |
Items.getItemRespawnTime(Item item)
Returns how fast are the items respawning based on their item type (in real seconds according to
System.currentTimeMillis(). |
double |
Items.getItemRespawnUT2004Time(Item item)
Returns how fast are the items respawning based on their item type (in UT Time == UT seconds ==
UnrealUtils.UT2004_TIME_SPEED * 1 seconds). |
double |
IItemUsefulness.getItemUsefulness(AdvancedItems advancedItems,
Items items,
Item item,
double usefulness)
Tells how much the item is useful to the bot - must return values between 0 and 1 (inclusive).
|
boolean |
AdvancedItems.isItemUseful(Item item,
double usefulness)
Determines, whether an item can be useful for the agent.
|
boolean |
Items.isPickable(Item item)
Method that determines whether 'item' is pickable in the current state of the bot.
|
boolean |
Items.isPickupSpawned(Item item)
Tells, whether the given pickup point contains a spawned item.
|
| Modifier and Type | Method and Description |
|---|---|
Map<UnrealId,Item> |
AdvancedItems.filterUsefulItems(Collection<Item> items,
double usefulness)
Determines, whether an item can be useful for the agent.
|
void |
Items.ItemsListener.notify(IWorldObjectEvent<Item> event) |
| Modifier and Type | Method and Description |
|---|---|
Item |
UT2004Navigation.getCurrentTargetItem() |
Item |
IUT2004Navigation.getCurrentTargetItem()
If navigation is trying to get to some item, otherwise returns null.
|
Item |
UT2004Navigation.getLastTargetItem() |
Item |
IUT2004Navigation.getLastTargetItem()
If previous target was an item, returns non-null
Item we previously tried to get to. |
| Modifier and Type | Method and Description |
|---|---|
<T extends Item> |
FloydWarshallMap.getNearestFilteredItem(Collection<T> locations,
NavPoint target,
cz.cuni.amis.utils.IFilter<T> filter)
Returns the nearest target (distance == path distance between 'from' and 'target').
|
<T extends Item> |
FloydWarshallMap.getNearestItem(Collection<T> locations,
NavPoint target)
Returns the nearest target (distance == path distance between 'from' and 'target').
|
<T extends Item> |
FloydWarshallMap.getNearestItem(Collection<T> locations,
NavPoint target,
double maxDistance)
Returns the nearest target (distance == path distance between 'from' and 'target') that is not further than 'maxDistance'.
|
<T extends Item> |
FloydWarshallMap.getSecondNearestItem(Collection<T> targets,
NavPoint from)
Returns the second nearest target (distance == path distance between 'from' and 'target').
|
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleLocomotion.turnTo(Item item)
Bot will turn to face 'item' (isseus GB TURNTO command), the bot will face the item even if it or the item moves.
|
void |
AdvancedLocomotion.turnTo(Item item) |
| Modifier and Type | Class and Description |
|---|---|
class |
ItemCompositeImpl
Composite implementation of the INV abstract message.
|
class |
ItemMessage
Implementation of the GameBots2004 message INV contains also its Local/Shared/Static subpart class definitions..
|
| Modifier and Type | Field and Description |
|---|---|
protected Item |
NavPointStaticImpl.ItemInstance
If item should be present at this navpoint it's instance will be here.
|
protected Item |
NavPointMessage.ItemInstance
If item should be present at this navpoint it's instance will be here.
|
| Modifier and Type | Method and Description |
|---|---|
Item |
UT2004CompositeObjectCreator.ItemCreator.create(ILocalWorldObject localPart,
ISharedWorldObject sharedPart,
IStaticWorldObject staticPart) |
Item |
NavPointStaticImpl.getItemInstance()
If item should be present at this navpoint it's instance will be here.
|
abstract Item |
NavPointStatic.getItemInstance()
If item should be present at this navpoint it's instance will be here.
|
Item |
NavPointMessage.getItemInstance() |
Item |
NavPointMessage.NavPointStaticMessage.getItemInstance()
If item should be present at this navpoint it's instance will be here.
|
Item |
NavPointCompositeImpl.getItemInstance() |
abstract Item |
NavPoint.getItemInstance()
If item should be present at this navpoint it's instance will be here.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NavPointStaticImpl.setItemInstance(Item item)
DO NOT USE THIS METHOD! Reserved for GaviaLib (Pogamut core)! It's used
to set correct item instance into the NavPoint.
|
void |
NavPointMessage.setItemInstance(Item item)
DO NOT USE THIS METHOD! Reserved for GaviaLib (Pogamut core)! It's used
to set correct item instance into the NavPoint.
|
| Constructor and Description |
|---|
Item.ItemUpdate(Item source,
long eventTime,
ITeamId teamId) |
Item.ObjectDisappeared(Item obj,
long time) |
ItemLocalImpl(Item original)
Cloning constructor from the full message.
|
ItemStaticImpl(Item original)
Cloning constructor from the full message.
|
NavPointMessage(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 DomPoint,
int DomPointController,
boolean Door,
boolean LiftCenter,
boolean LiftExit,
boolean AIMarker,
boolean JumpSpot,
boolean JumpPad,
boolean JumpDest,
boolean Teleporter,
Rotation Rotation,
boolean RoamingSpot,
boolean SnipingSpot,
Item ItemInstance,
Map<UnrealId,NavPointNeighbourLink> OutgoingEdges,
Map<UnrealId,NavPointNeighbourLink> IncomingEdges,
String PreferedWeapon)
Creates new instance of the message NavPoint.
|
NavPointStaticImpl(UnrealId Id,
UnrealId Item,
ItemType ItemClass,
UnrealId Mover,
javax.vecmath.Vector3d LiftOffset,
boolean LiftJumpExit,
boolean NoDoubleJump,
int TeamNumber,
boolean DomPoint,
int DomPointController,
boolean Door,
boolean LiftCenter,
boolean LiftExit,
boolean AIMarker,
boolean JumpSpot,
boolean JumpPad,
boolean JumpDest,
boolean Teleporter,
Rotation Rotation,
boolean RoamingSpot,
boolean SnipingSpot,
Item ItemInstance,
Map<UnrealId,NavPointNeighbourLink> OutgoingEdges,
Map<UnrealId,NavPointNeighbourLink> IncomingEdges,
String PreferedWeapon)
Creates new instance of the message NavPoint.
|
| Modifier and Type | Method and Description |
|---|---|
Map<UnrealId,Item> |
TranslatorContext.getItems() |
| Modifier and Type | Method and Description |
|---|---|
void |
TranslatorContext.setItems(Map<UnrealId,Item> items) |
| Modifier and Type | Method and Description |
|---|---|
Map<UnrealId,Item> |
MapPointListObtained.getItems() |
| Constructor and Description |
|---|
MapPointListObtained(Map<UnrealId,NavPoint> navPoints,
Map<UnrealId,Item> items,
long simTime) |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.