public class PlayerLocalImpl extends PlayerLocal
Modifier and Type | Class and Description |
---|---|
static class |
PlayerLocalImpl.PlayerLocalUpdate |
PlayerLocal.ObjectDisappeared
Modifier and Type | Field and Description |
---|---|
protected UnrealId |
Id
Unique Id of the player.
|
protected String |
Jmx
Exported just for control server.
|
protected boolean |
Visible
If the player is in the field of view of the bot.
|
SimTime
Constructor and Description |
---|
PlayerLocalImpl()
Parameter-less contructor for the message.
|
PlayerLocalImpl(Player original)
Cloning constructor from the full message.
|
PlayerLocalImpl(PlayerLocal original)
Cloning constructor from the message part.
|
PlayerLocalImpl(PlayerLocalImpl original)
Cloning constructor from the full message.
|
PlayerLocalImpl(UnrealId Id,
String Jmx,
boolean Visible)
Creates new instance of the message Player.
|
Modifier and Type | Method and Description |
---|---|
PlayerLocalImpl |
clone() |
UnrealId |
getId()
Unique Id of the player.
|
String |
getJmx()
Exported just for control server.
|
PlayerLocalImpl |
getLocal() |
ISharedWorldObject |
getShared() |
IStaticWorldObject |
getStatic() |
boolean |
isVisible()
If the player is in the field of view of the bot.
|
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
createDisappearEvent, getCompositeClass, getSimTime
toJsonLiteral
protected UnrealId Id
protected String Jmx
protected boolean Visible
public PlayerLocalImpl()
public PlayerLocalImpl(UnrealId Id, String Jmx, boolean Visible)
Id
- Unique Id of the player.Jmx
- Exported just for control server. Holds jmx address we need to connect to
when we want to debug our bot.Visible
- If the player is in the field of view of the bot.public PlayerLocalImpl(Player original)
original
- public PlayerLocalImpl(PlayerLocalImpl original)
original
- public PlayerLocalImpl(PlayerLocal original)
original
- public void setSimTime(long SimTime)
PlayerLocal
setSimTime
in class PlayerLocal
public PlayerLocalImpl clone()
clone
in interface ILocalWorldObject
clone
in class PlayerLocal
public UnrealId getId()
getId
in interface IWorldObject
getId
in class PlayerLocal
public String getJmx()
getJmx
in class PlayerLocal
public boolean isVisible()
isVisible
in interface ILocalViewable
isVisible
in class PlayerLocal
public PlayerLocalImpl getLocal()
getLocal
in class PlayerLocal
public ISharedWorldObject getShared()
getShared
in class PlayerLocal
public IStaticWorldObject getStatic()
getStatic
in class PlayerLocal
public String toString()
toString
in class PlayerLocal
public String toHtmlString()
toHtmlString
in class PlayerLocal
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.