public class PlayerLocalImpl extends PlayerLocal
Modifier and Type | Class and Description |
---|---|
static class |
PlayerLocalImpl.PlayerLocalUpdate |
PlayerLocal.ObjectDisappeared
Modifier and Type | Field and Description |
---|---|
protected cz.cuni.amis.pogamut.unreal.communication.messages.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(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id,
String Jmx,
boolean Visible)
Creates new instance of the message Player.
|
Modifier and Type | Method and Description |
---|---|
PlayerLocalImpl |
clone() |
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getId()
Unique Id of the player.
|
String |
getJmx()
Exported just for control server.
|
PlayerLocalImpl |
getLocal() |
cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObject |
getShared() |
cz.cuni.amis.pogamut.multi.communication.worldview.object.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
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id
protected String Jmx
protected boolean Visible
public PlayerLocalImpl()
public PlayerLocalImpl(cz.cuni.amis.pogamut.unreal.communication.messages.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 cz.cuni.amis.pogamut.multi.communication.worldview.object.ILocalWorldObject
clone
in class PlayerLocal
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
getId
in interface cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject
getId
in class PlayerLocal
public String getJmx()
getJmx
in class PlayerLocal
public boolean isVisible()
isVisible
in interface cz.cuni.amis.pogamut.multi.communication.worldview.object.ILocalViewable
isVisible
in class PlayerLocal
public PlayerLocalImpl getLocal()
getLocal
in class PlayerLocal
public cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObject getShared()
getShared
in class PlayerLocal
public cz.cuni.amis.pogamut.multi.communication.worldview.object.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.