|
||||||||||
| 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 |
| Nested classes/interfaces inherited from interface cz.cuni.amis.pogamut.base.communication.translator.event.IWorldObjectUpdatedEvent |
|---|
IWorldObjectUpdatedEvent.DestroyWorldObject |
| Field Summary | |
|---|---|
protected UnrealId |
Id
Message identifier. |
protected boolean |
Id_Set
Whether property 'Id' was received from GB2004. |
protected 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 boolean |
Score_Set
Whether property 'Score' was received from GB2004. |
protected Integer |
Team
Team identifier. |
protected boolean |
Team_Set
Whether property 'Team' was received from GB2004. |
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,
Integer Team,
Integer Score)
Creates new instance of the message TeamScore. |
|
| Method Summary | |
|---|---|
UnrealId |
getId()
Message identifier. |
TeamScoreLocal |
getLocal()
|
ILocalWorldObjectUpdatedEvent |
getLocalEvent()
|
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()
|
ISharedWorldObjectUpdatedEvent |
getSharedEvent()
|
TeamScoreStatic |
getStatic()
|
IStaticWorldObjectUpdatedEvent |
getStaticEvent()
|
Integer |
getTeam()
Team identifier. |
ITeamId |
getTeamId()
|
protected void |
setTeamId(ITeamId TeamId)
Used by Yylex to slip corretn TeamId. |
String |
toHtmlString()
|
String |
toString()
|
IWorldObjectUpdateResult<IWorldObject> |
update(IWorldObject object)
|
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScore |
|---|
getSimTime, setSimTime, toJsonLiteral |
| 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 boolean Id_Set
protected Integer Team
protected boolean Team_Set
protected Integer Score
protected boolean Score_Set
| Constructor Detail |
|---|
public TeamScoreMessage()
public TeamScoreMessage(UnrealId Id,
Integer Team,
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 IWorldObjectUpdatedEventgetId in interface IWorldObjectgetId in interface ICompositeWorldObjectUpdatedEventgetId in class TeamScorepublic Integer getTeam()
TeamScore
getTeam in class TeamScorepublic Integer getScore()
TeamScore
getScore in class TeamScorepublic TeamScoreLocal getLocal()
getLocal in interface ICompositeWorldObjectpublic TeamScoreShared getShared()
getShared in interface ICompositeWorldObjectpublic TeamScoreStatic getStatic()
getStatic in interface ICompositeWorldObjectpublic IWorldObjectUpdateResult<IWorldObject> update(IWorldObject object)
update in interface IWorldObjectUpdatedEventpublic ILocalWorldObjectUpdatedEvent getLocalEvent()
getLocalEvent in interface ICompositeWorldObjectUpdatedEventpublic ISharedWorldObjectUpdatedEvent getSharedEvent()
getSharedEvent in interface ICompositeWorldObjectUpdatedEventpublic IStaticWorldObjectUpdatedEvent getStaticEvent()
getStaticEvent in interface ICompositeWorldObjectUpdatedEventpublic String toString()
toString in class TeamScorepublic String toHtmlString()
toHtmlString in class TeamScore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||