|
|||||||||
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.TeamScoreShared cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScoreMessage.TeamScoreSharedMessage
public class TeamScoreMessage.TeamScoreSharedMessage
Implementation of the shared part of the GameBots2004 message TES, used to facade TESMessage.
Complete message documentation: Synchronous message. Contains the info about team score.
Field Summary | |
---|---|
protected IntegerProperty |
myScore
The score of the team (can be some special measurement that differs from game type to game type - number of stolen flags in CTF game, number of team frags in TeamGame, etc.) |
protected IntegerProperty |
myTeam
Team identifier. |
protected java.util.HashMap<PropertyId,ISharedProperty> |
propertyMap
|
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScoreShared |
---|
ScorePropertyToken, SharedPropertyTokens, SimTime, TeamPropertyToken |
Constructor Summary | |
---|---|
TeamScoreMessage.TeamScoreSharedMessage()
|
Method Summary | |
---|---|
TeamScoreMessage.TeamScoreSharedMessage |
clone()
|
UnrealId |
getId()
Message identifier. |
java.util.Map<PropertyId,ISharedProperty> |
getProperties()
|
ISharedProperty |
getProperty(PropertyId id)
|
java.lang.Integer |
getScore()
The score of the team (can be some special measurement that differs from game type to game type - number of stolen flags in CTF game, number of team frags in TeamGame, etc.) |
java.lang.Integer |
getTeam()
Team identifier. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toString()
|
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScoreShared |
---|
getCompositeClass, getSimTime, setSimTime |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.util.HashMap<PropertyId,ISharedProperty> propertyMap
protected IntegerProperty myTeam
protected IntegerProperty myScore
Constructor Detail |
---|
public TeamScoreMessage.TeamScoreSharedMessage()
Method Detail |
---|
public TeamScoreMessage.TeamScoreSharedMessage clone()
clone
in interface ISharedWorldObject
clone
in class TeamScoreShared
public ISharedProperty getProperty(PropertyId id)
public java.util.Map<PropertyId,ISharedProperty> getProperties()
public UnrealId getId()
getId
in interface IWorldObject
getId
in class TeamScoreShared
public java.lang.Integer getTeam()
getTeam
in class TeamScoreShared
public java.lang.Integer getScore()
getScore
in class TeamScoreShared
public java.lang.String toString()
toString
in class TeamScoreShared
public java.lang.String toHtmlString()
toHtmlString
in class TeamScoreShared
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |