|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScore
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScoreMessage
public class TeamScoreMessage
Implementation of the GameBots2004 message TES contains also its Local/Shared/Static subpart class definitions..
Complete message documentation: Synchronous message. Contains the info about team score.
Nested Class Summary | |
---|---|
class |
TeamScoreMessage.TeamScoreLocalMessage
Implementation of the local part of the GameBots2004 message TES, used to facade TESMessage. |
class |
TeamScoreMessage.TeamScoreSharedMessage
Implementation of the shared part of the GameBots2004 message TES, used to facade TESMessage. |
class |
TeamScoreMessage.TeamScoreStaticMessage
Implementation of the static part of the GameBots2004 message TES, used to facade TESMessage. |
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScore |
---|
TeamScore.TeamScoreUpdate |
Field Summary | |
---|---|
protected UnrealId |
Id
Message identifier. |
protected java.lang.Integer |
Score
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 java.lang.Integer |
Team
Team identifier. |
protected ITeamId |
TeamId
|
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScore |
---|
PROTOTYPE, SimTime |
Constructor Summary | |
---|---|
TeamScoreMessage()
Parameter-less contructor for the message. |
|
TeamScoreMessage(TeamScoreMessage original)
Cloning constructor from the full message. |
|
TeamScoreMessage(UnrealId Id,
java.lang.Integer Team,
java.lang.Integer Score)
Creates new instance of the message TeamScore. |
Method Summary | |
---|---|
UnrealId |
getId()
Message identifier. |
TeamScoreLocal |
getLocal()
|
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.) |
TeamScoreShared |
getShared()
|
TeamScoreStatic |
getStatic()
|
java.lang.Integer |
getTeam()
Team identifier. |
ITeamId |
getTeamId()
|
protected void |
setTeamId(ITeamId TeamId)
Used by Yylex to slip corretn TeamId. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toString()
|
IWorldObjectUpdateResult<IWorldObject> |
update(IWorldObject object)
|
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScore |
---|
getSimTime, setSimTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent |
---|
getSimTime |
Field Detail |
---|
protected ITeamId TeamId
protected UnrealId Id
protected java.lang.Integer Team
protected java.lang.Integer Score
Constructor Detail |
---|
public TeamScoreMessage()
public TeamScoreMessage(UnrealId Id, java.lang.Integer Team, java.lang.Integer Score)
Id
- Message identifier.Team
- Team identifier.Score
- 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.)public TeamScoreMessage(TeamScoreMessage original)
original
- Method Detail |
---|
protected void setTeamId(ITeamId TeamId)
public ITeamId getTeamId()
public UnrealId getId()
TeamScore
getId
in interface IWorldObjectUpdatedEvent
getId
in interface IWorldObject
getId
in class TeamScore
public java.lang.Integer getTeam()
TeamScore
getTeam
in class TeamScore
public java.lang.Integer getScore()
TeamScore
getScore
in class TeamScore
public TeamScoreLocal getLocal()
getLocal
in interface ICompositeWorldObject
public TeamScoreShared getShared()
getShared
in interface ICompositeWorldObject
public TeamScoreStatic getStatic()
getStatic
in interface ICompositeWorldObject
public IWorldObjectUpdateResult<IWorldObject> update(IWorldObject object)
update
in interface IWorldObjectUpdatedEvent
public java.lang.String toString()
toString
in class TeamScore
public java.lang.String toHtmlString()
toHtmlString
in class TeamScore
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |