|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Item | |
|---|---|
| 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.agent.navigation.navmesh.pathfollowing | |
| 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 | |
| Uses of Item in cz.cuni.amis.pogamut.ut2004.agent.module.sensor |
|---|
| Methods in cz.cuni.amis.pogamut.ut2004.agent.module.sensor that return Item | |
|---|---|
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 |
Items.getNearestItem()
Returns nearest-by-air (Euclidean norm) item spawning point from 'all' items. |
Item |
AgentInfo.getNearestItem()
Retrieves nearest known item to current agent location. |
Item |
Items.getNearestItem(ItemType.Category category)
Returns nearest-by-air (Euclidean norm) item spawning point from 'all' items of specific category. |
Item |
Items.getNearestItem(ItemType.Group group)
Returns nearest-by-air (Euclidean norm) item spawning point from 'all' items of specific group. |
Item |
Items.getNearestItem(ItemType type)
Returns nearest-by-air (Euclidean norm) item spawning point from 'all' items of specific type. |
Item |
Items.getNearestSpawnedItem()
Returns nearest-by-air (Euclidean norm) item spawning point from spawned items. |
Item |
Items.getNearestSpawnedItem(ItemType.Category category)
Returns nearest-by-air (Euclidean norm) item spawning point from spawned items of specific category. |
Item |
Items.getNearestSpawnedItem(ItemType.Group group)
Returns nearest-by-air (Euclidean norm) item spawning point from spawned items of specific group. |
Item |
Items.getNearestSpawnedItem(ItemType type)
Returns nearest-by-air (Euclidean norm) item spawning point from spawned items of specific type. |
Item |
Items.getNearestVisibleItem()
Returns nearest-by-air (Euclidean norm) item spawning point from visible items. |
Item |
AgentInfo.getNearestVisibleItem()
Retrieves nearest visible item to current agent location. |
Item |
Items.getNearestVisibleItem(ItemType.Category category)
Returns nearest-by-air (Euclidean norm) item spawning point from visible items of specific category. |
Item |
Items.getNearestVisibleItem(ItemType.Group group)
Returns nearest-by-air (Euclidean norm) item spawning point from visible items of specific group. |
Item |
Items.getNearestVisibleItem(ItemType type)
Returns nearest-by-air (Euclidean norm) item spawning point from visible items of specific type. |
Item |
Items.getPathNearestItem()
Returns nearest-by-path (using Items.pathPlanner previously injected via Items.setPathPlanner(IPathPlanner)) item spawning point from 'all' items EXCEPT DROPPED ONES!
Does not need to be necessarily spawned right now. |
Item |
Items.getPathNearestItem(ItemType.Category category)
Returns nearest-by-path (using Items.pathPlanner previously injected via Items.setPathPlanner(IPathPlanner)) item spawning point from 'all' items EXCEPT DROPPED ONES!
Does not need to be necessarily spawned right now. |
Item |
Items.getPathNearestItem(ItemType.Group group)
Returns nearest-by-path (using Items.pathPlanner previously injected via Items.setPathPlanner(IPathPlanner)) item spawning point from 'all' items EXCEPT DROPPED ONES!
Does not need to be necessarily spawned right now. |
Item |
Items.getPathNearestItem(ItemType type)
Returns nearest-by-path (using Items.pathPlanner previously injected via Items.setPathPlanner(IPathPlanner)) item spawning point from 'all' items EXCEPT DROPPED ONES!
Does not need to be necessarily spawned right now. |
Item |
Items.getPathNearestSpawnedItem()
Returns nearest-by-path (using Items.pathPlanner previously injected via Items.setPathPlanner(IPathPlanner)) item spawning point from spawned items EXCEPT DROPPED ONES!
Does not need to be necessarily spawned right now. |
Item |
Items.getPathNearestSpawnedItem(ItemType.Category category)
Returns nearest-by-path (using Items.pathPlanner previously injected via Items.setPathPlanner(IPathPlanner)) item spawning point from spawned items EXCEPT DROPPED ONES!
Does not need to be necessarily spawned right now. |
Item |
Items.getPathNearestSpawnedItem(ItemType.Group group)
Returns nearest-by-path (using Items.pathPlanner previously injected via Items.setPathPlanner(IPathPlanner)) item spawning point from spawned items EXCEPT DROPPED ONES!
Does not need to be necessarily spawned right now. |
Item |
Items.getPathNearestSpawnedItem(ItemType type)
Returns nearest-by-path (using Items.pathPlanner previously injected via Items.setPathPlanner(IPathPlanner)) item spawning point from spawned items EXCEPT DROPPED ONES!
Does not need to be necessarily spawned right now. |
Item |
Items.getPathNearestVisibleItem()
Returns nearest-by-path (using Items.pathPlanner previously injected via Items.setPathPlanner(IPathPlanner)) item spawning point from visible items EXCEPT DROPPED ONES!
Does not need to be necessarily spawned right now. |
Item |
Items.getPathNearestVisibleItem(ItemType.Category category)
Returns nearest-by-path (using Items.pathPlanner previously injected via Items.setPathPlanner(IPathPlanner)) item spawning point from visible items EXCEPT DROPPED ONES!
Does not need to be necessarily spawned right now. |
Item |
Items.getPathNearestVisibleItem(ItemType.Group group)
Returns nearest-by-path (using Items.pathPlanner previously injected via Items.setPathPlanner(IPathPlanner)) item spawning point from visible items EXCEPT DROPPED ONES!
Does not need to be necessarily spawned right now. |
Item |
Items.getPathNearestVisibleItem(ItemType type)
Returns nearest-by-path (using Items.pathPlanner previously injected via Items.setPathPlanner(IPathPlanner)) item spawning point from visible items EXCEPT DROPPED ONES!
Does not need to be necessarily spawned right now. |
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. |
| Methods in cz.cuni.amis.pogamut.ut2004.agent.module.sensor that return types with arguments of type Item | |
|---|---|
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. |
| Methods in cz.cuni.amis.pogamut.ut2004.agent.module.sensor with parameters of type Item | |
|---|---|
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. |
abstract boolean |
Items.isPickable(Item item)
Method that determines whether 'item' is pickable in the current state of the bot. |
boolean |
UT2004Items.isPickable(Item item)
|
boolean |
Items.isPickupSpawned(Item item)
Tells, whether the given pickup point contains a spawned item. |
| Method parameters in cz.cuni.amis.pogamut.ut2004.agent.module.sensor with type arguments of type Item | |
|---|---|
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)
|
| Uses of Item in cz.cuni.amis.pogamut.ut2004.agent.navigation |
|---|
| Methods in cz.cuni.amis.pogamut.ut2004.agent.navigation that return Item | |
|---|---|
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. |
| Uses of Item in cz.cuni.amis.pogamut.ut2004.agent.navigation.floydwarshall |
|---|
| Methods in cz.cuni.amis.pogamut.ut2004.agent.navigation.floydwarshall with type parameters of type 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'). |
|
|
FloydWarshallMap.getNearestItem(Collection<T> locations,
NavPoint target)
Returns the nearest target (distance == path distance between 'from' and 'target'). |
|
|
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'. |
|
|
FloydWarshallMap.getSecondNearestItem(Collection<T> targets,
NavPoint from)
Returns the second nearest target (distance == path distance between 'from' and 'target'). |
|
| Uses of Item in cz.cuni.amis.pogamut.ut2004.agent.navigation.navmesh.pathfollowing |
|---|
| Methods in cz.cuni.amis.pogamut.ut2004.agent.navigation.navmesh.pathfollowing that return Item | |
|---|---|
Item |
NavMeshNavigation.getCurrentTargetItem()
|
Item |
NavMeshNavigation.getLastTargetItem()
|
| Uses of Item in cz.cuni.amis.pogamut.ut2004.bot.command |
|---|
| Methods in cz.cuni.amis.pogamut.ut2004.bot.command with parameters of type Item | |
|---|---|
void |
AdvancedLocomotion.turnTo(Item item)
|
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. |
| Uses of Item in cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages |
|---|
| Subclasses of Item in cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages | |
|---|---|
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.. |
| Fields in cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages declared as Item | |
|---|---|
protected Item |
NavPointMessage.ItemInstance
If item should be present at this navpoint it's instance will be here. |
protected Item |
NavPointStaticImpl.ItemInstance
If item should be present at this navpoint it's instance will be here. |
| Methods in cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages that return Item | |
|---|---|
Item |
UT2004CompositeObjectCreator.ItemCreator.create(ILocalWorldObject localPart,
ISharedWorldObject sharedPart,
IStaticWorldObject staticPart)
|
Item |
NavPointCompositeImpl.getItemInstance()
|
Item |
NavPointMessage.getItemInstance()
|
Item |
NavPointMessage.NavPointStaticMessage.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. |
abstract Item |
NavPoint.getItemInstance()
If item should be present at this navpoint it's instance will be here. |
Item |
NavPointStaticImpl.getItemInstance()
If item should be present at this navpoint it's instance will be here. |
| Methods in cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages with parameters of type Item | |
|---|---|
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. |
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. |
| Constructors in cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages with parameters of type Item | |
|---|---|
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,
boolean InvSpot,
boolean PlayerStart,
int TeamNumber,
boolean DomPoint,
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. |
|
| Uses of Item in cz.cuni.amis.pogamut.ut2004.communication.translator |
|---|
| Methods in cz.cuni.amis.pogamut.ut2004.communication.translator that return types with arguments of type Item | |
|---|---|
Map<UnrealId,Item> |
TranslatorContext.getItems()
|
| Method parameters in cz.cuni.amis.pogamut.ut2004.communication.translator with type arguments of type Item | |
|---|---|
void |
TranslatorContext.setItems(Map<UnrealId,Item> items)
|
| Uses of Item in cz.cuni.amis.pogamut.ut2004.communication.translator.shared.events |
|---|
| Methods in cz.cuni.amis.pogamut.ut2004.communication.translator.shared.events that return types with arguments of type Item | |
|---|---|
Map<UnrealId,Item> |
MapPointListObtained.getItems()
|
| Constructor parameters in cz.cuni.amis.pogamut.ut2004.communication.translator.shared.events with type arguments of type Item | |
|---|---|
MapPointListObtained(Map<UnrealId,NavPoint> navPoints,
Map<UnrealId,Item> items,
long simTime)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||