|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.messages.InfoMessage cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.PlayerStatic cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.PlayerStaticImpl
public class PlayerStaticImpl
Implementation of the static part of the GameBots2004 message PLR.
Complete message documentation: Synchronous message. Contains information about other players in the game, like their current velocity, position, weapon and reachability. Only reports those players that are visible. (within field of view and not occluded).
Nested Class Summary | |
---|---|
static class |
PlayerStaticImpl.PlayerStaticUpdate
|
Field Summary | |
---|---|
protected UnrealId |
Id
Unique Id of the player. |
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.PlayerStatic |
---|
SimTime |
Constructor Summary | |
---|---|
PlayerStaticImpl()
Parameter-less contructor for the message. |
|
PlayerStaticImpl(Player original)
Cloning constructor from the full message. |
|
PlayerStaticImpl(PlayerStatic original)
Cloning constructor from the message part. |
|
PlayerStaticImpl(PlayerStaticImpl original)
Cloning constructor from the full message. |
|
PlayerStaticImpl(UnrealId Id)
Creates new instance of the message Player. |
Method Summary | |
---|---|
PlayerStaticImpl |
clone()
|
UnrealId |
getId()
Unique Id of the player. |
boolean |
isDifferentFrom(IStaticWorldObject other)
|
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically. |
String |
toHtmlString()
|
String |
toString()
|
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.PlayerStatic |
---|
getCompositeClass, getSimTime |
Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage |
---|
toJsonLiteral |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected UnrealId Id
Constructor Detail |
---|
public PlayerStaticImpl()
public PlayerStaticImpl(UnrealId Id)
Id
- Unique Id of the player.public PlayerStaticImpl(Player original)
original
- public PlayerStaticImpl(PlayerStaticImpl original)
original
- public PlayerStaticImpl(PlayerStatic original)
original
- Method Detail |
---|
public void setSimTime(long SimTime)
PlayerStatic
setSimTime
in class PlayerStatic
public PlayerStaticImpl clone()
clone
in class PlayerStatic
public UnrealId getId()
getId
in interface IWorldObject
getId
in class PlayerStatic
public boolean isDifferentFrom(IStaticWorldObject other)
isDifferentFrom
in interface IStaticWorldObject
isDifferentFrom
in class PlayerStatic
public String toString()
toString
in class PlayerStatic
public String toHtmlString()
toHtmlString
in class PlayerStatic
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |