|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Player | |
|---|---|
| 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 | |
| Uses of Player in cz.cuni.amis.pogamut.ut2004.agent.module.sensor |
|---|
| Methods in cz.cuni.amis.pogamut.ut2004.agent.module.sensor that return Player | |
|---|---|
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 recentlyVisibleTime)
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. |
| Methods in cz.cuni.amis.pogamut.ut2004.agent.module.sensor that return types with arguments of type Player | |
|---|---|
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. |
| Methods in cz.cuni.amis.pogamut.ut2004.agent.module.sensor with parameters of type Player | |
|---|---|
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. |
| Method parameters in cz.cuni.amis.pogamut.ut2004.agent.module.sensor with type arguments of type Player | |
|---|---|
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. |
| Uses of Player in cz.cuni.amis.pogamut.ut2004.agent.navigation |
|---|
| Fields in cz.cuni.amis.pogamut.ut2004.agent.navigation declared as Player | |
|---|---|
protected Player |
UT2004Navigation.currentTargetPlayer
Current target is player (if not null) |
protected Player |
UT2004Navigation.lastTargetPlayer
Last location target. |
| Methods in cz.cuni.amis.pogamut.ut2004.agent.navigation that return Player | |
|---|---|
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. |
| Methods in cz.cuni.amis.pogamut.ut2004.agent.navigation with parameters of type Player | |
|---|---|
void |
UT2004Navigation.navigate(Player player)
|
void |
IUT2004Navigation.navigate(Player player)
This method can be called periodically or asynchronously. |
| Uses of Player in cz.cuni.amis.pogamut.ut2004.bot.command |
|---|
| Methods in cz.cuni.amis.pogamut.ut2004.bot.command with parameters of type Player | |
|---|---|
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)
|
| Uses of Player in cz.cuni.amis.pogamut.ut2004.bot.impl |
|---|
| Constructors in cz.cuni.amis.pogamut.ut2004.bot.impl with parameters of type Player | |
|---|---|
NativeUT2004BotAdapter(Player player,
IUnrealServer server,
IAct act,
IWorldView worldView)
|
|
| Uses of Player in cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages |
|---|
| Subclasses of Player in cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages | |
|---|---|
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.. |
| Methods in cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages that return Player | |
|---|---|
Player |
UT2004CompositeObjectCreator.PlayerCreator.create(ILocalWorldObject localPart,
ISharedWorldObject sharedPart,
IStaticWorldObject staticPart)
|
| Constructors in cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages with parameters of type Player | |
|---|---|
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. |
|
| Uses of Player 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 Player | |
|---|---|
List<Player> |
PlayerListObtained.getPlayers()
|
| Constructor parameters in cz.cuni.amis.pogamut.ut2004.communication.translator.shared.events with type arguments of type Player | |
|---|---|
PlayerListObtained(List<Player> list,
long simTime)
|
|
| Uses of Player in cz.cuni.amis.pogamut.ut2004.server |
|---|
| Methods in cz.cuni.amis.pogamut.ut2004.server that return types with arguments of type Player | |
|---|---|
cz.cuni.amis.utils.collections.ObservableCollection<Player> |
IUT2004Server.getPlayers()
Returns list of all players connected to the game server. |
| Uses of Player in cz.cuni.amis.pogamut.ut2004.server.impl |
|---|
| Methods in cz.cuni.amis.pogamut.ut2004.server.impl that return types with arguments of type Player | |
|---|---|
cz.cuni.amis.utils.collections.ObservableCollection<Player> |
AbstractUT2004Server.getPlayers()
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||