| 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.bot.command |
Utility classes wrapping various command messages.
|
| cz.cuni.amis.pogamut.ut2004.bot.impl | |
| cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages | |
| cz.cuni.amis.pogamut.ut2004.communication.translator.shared.events | |
| cz.cuni.amis.pogamut.ut2004.server | |
| cz.cuni.amis.pogamut.ut2004.server.impl |
| Modifier and Type | Method and Description |
|---|---|
Player |
Senses.getBumpingPlayer()
Returns tha
Player object of the player the bot has bumped into (if it was a bot). |
Player |
Players.getNearestEnemy(double recentlyVisibleTime)
Returns nearest enemy that is visible or that was 'recently' visible.
|
Player |
Players.getNearestFriend(double recentlyVisibleTime)
Returns nearest friend that is visible or that was 'recently' visible.
|
Player |
AgentInfo.getNearestPlayer()
Retrieves nearest known player to current agent location.
|
Player |
Players.getNearestPlayer(double recently)
Returns nearest player that is visible or that was 'recently' visible.
|
Player |
Players.getNearestVisibleEnemy()
Returns nearest-visible enemy - if no enemy is visible returns null.
|
Player |
Players.getNearestVisibleFriend()
Returns nearest-visible friend - if no friend is visible returns null.
|
Player |
Players.getNearestVisiblePlayer()
Returns nearest-visible player - if no if no player is visible returns null.
|
Player |
AgentInfo.getNearestVisiblePlayer()
Retrieves nearest visible player to current agent location.
|
Player |
Players.getNearestVisiblePlayer(Collection<Player> players)
Returns nearest-visible player to the bot from the collection of 'players' - if no player
is visible returns null.
|
Player |
Players.getPlayer(UnrealId UnrealId)
Retreives last known info about given player.
|
Player |
Players.getRandomVisibleEnemy()
Returns random visible enemy - if no enemy is visible returns null.
|
Player |
Players.getRandomVisibleFriend()
Returns random friend - if no friend is visible returns null.
|
Player |
Players.getRandomVisiblePlayer()
Returns random visible player - if no if no player is visible returns null.
|
Player |
Players.getVisiblePlayer(UnrealId UnrealId)
Retreives info about given player, but only it the player is visible.
|
| Modifier and Type | Method and Description |
|---|---|
Map<UnrealId,Player> |
Players.getEnemies()
Retreives a Map of all enemies.
|
Map<UnrealId,Player> |
Players.getFriends()
Retreives a Map of all friends.
|
Map<UnrealId,Player> |
Players.getPlayers()
Retreives a Map of all players.
|
Map<UnrealId,Player> |
Players.getVisibleEnemies()
Retreives a Map of all visible enemies.
|
Map<UnrealId,Player> |
Players.getVisibleFriends()
Retreives a Map of all visible friends.
|
Map<UnrealId,Player> |
Players.getVisiblePlayers()
Retreives a Map of all visible players.
|
| Modifier and Type | Method and Description |
|---|---|
PlayerKilled |
Senses.getPlayerKilled(Player player)
Returns detail information about the way the player has died.
|
boolean |
Players.isEnemy(Player player)
Tells, whether a given player is an enemy to the agent.
|
boolean |
AgentInfo.isEnemy(Player player)
Tells, whether a given player is an enemy to the agent.
|
boolean |
Players.isFriend(Player player)
Tells, whether a given player is a friend to the agent.
|
boolean |
AgentInfo.isFriend(Player player)
Tells, whether a given player is a friend to the agent.
|
boolean |
Senses.isPlayerKilled(Player player)
Tells whether some other player has just died.
|
boolean |
Senses.isPlayerKilledOnce(Player player)
Tells whether some other player has just died.
|
| Modifier and Type | Method and Description |
|---|---|
Player |
Players.getNearestVisiblePlayer(Collection<Player> players)
Returns nearest-visible player to the bot from the collection of 'players' - if no player
is visible returns null.
|
| Modifier and Type | Field and Description |
|---|---|
protected Player |
UT2004Navigation.currentTargetPlayer
Current target is player (if not null)
|
protected Player |
UT2004Navigation.lastTargetPlayer
Last location target.
|
| Modifier and Type | Method and Description |
|---|---|
Player |
UT2004Navigation.getCurrentTargetPlayer() |
Player |
IUT2004Navigation.getCurrentTargetPlayer()
If navigation is trying to get to some player, otherwise returns null.
|
Player |
UT2004Navigation.getLastTargetPlayer() |
Player |
IUT2004Navigation.getLastTargetPlayer()
If previous target was a player, returns non-null player we previously tried to get to
(i.e., what was
UT2004Navigation.getCurrentTargetPlayer() before
another UT2004Navigation.navigate(ILocated) or UT2004Navigation.navigate(Player) was called. |
| Modifier and Type | Method and Description |
|---|---|
void |
UT2004Navigation.navigate(Player player) |
void |
IUT2004Navigation.navigate(Player player)
This method can be called periodically or asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleShooting.shoot(Player target)
Bot will start shooting with his current weapon at the target provided.
|
void |
AdvancedShooting.shoot(Player target) |
void |
AdvancedShooting.shootPrimary(Player target)
Shortcut for 'shootPrimary(player.getId())', see
AdvancedShooting.shootPrimary(UnrealId). |
void |
AdvancedShooting.shootPrimaryCharged(Player target,
double chargeTime)
Shortcut for 'shootPrimaryCharged(player.getId())', see
AdvancedShooting.shootPrimaryCharged(UnrealId, double). |
void |
AdvancedShooting.shootSecondary(Player target)
Shortcut for 'shootSecondary(player.getId())', see
AdvancedShooting.shootSecondary(UnrealId). |
void |
AdvancedShooting.shootSecondaryCharged(Player target,
double chargeTime)
Shortcut for 'shootSecondaryCharged(player.getId())', see
AdvancedShooting.shootSecondaryCharged(UnrealId, double). |
void |
SimpleLocomotion.turnTo(Player player)
Bot will turn to face 'player' (isseus GB TURNTO command), the bot will face the player even if it or the player moves.
|
void |
AdvancedLocomotion.turnTo(Player player) |
| Constructor and Description |
|---|
NativeUT2004BotAdapter(Player player,
IUnrealServer server,
IAct act,
IWorldView worldView) |
| Modifier and Type | Class and Description |
|---|---|
class |
PlayerCompositeImpl
Composite implementation of the PLR abstract message.
|
class |
PlayerMessage
Implementation of the GameBots2004 message PLR contains also its Local/Shared/Static subpart class definitions..
|
| Modifier and Type | Method and Description |
|---|---|
Player |
UT2004CompositeObjectCreator.PlayerCreator.create(ILocalWorldObject localPart,
ISharedWorldObject sharedPart,
IStaticWorldObject staticPart) |
| Constructor and Description |
|---|
Player.ObjectDisappeared(Player obj,
long time) |
Player.PlayerUpdate(Player source,
long eventTime,
ITeamId teamId) |
PlayerLocalImpl(Player original)
Cloning constructor from the full message.
|
PlayerStaticImpl(Player original)
Cloning constructor from the full message.
|
| Modifier and Type | Method and Description |
|---|---|
List<Player> |
PlayerListObtained.getPlayers() |
| Constructor and Description |
|---|
PlayerListObtained(List<Player> list,
long simTime) |
| Modifier and Type | Method and Description |
|---|---|
cz.cuni.amis.utils.collections.ObservableCollection<Player> |
IUT2004Server.getPlayers()
Returns list of all players connected to the game server.
|
| Modifier and Type | Method and Description |
|---|---|
cz.cuni.amis.utils.collections.ObservableCollection<Player> |
AbstractUT2004Server.getPlayers() |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.