public class TeamScoreMessage extends TeamScore implements IWorldObjectUpdatedEvent, ICompositeWorldObjectUpdatedEvent
| Modifier and Type | Class and Description |
|---|---|
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.
|
TeamScore.TeamScoreUpdateIWorldObjectUpdatedEvent.DestroyWorldObject| Modifier and Type | Field and Description |
|---|---|
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 |
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
getSimTime, setSimTime, toJsonLiteralclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSimTimeprotected ITeamId TeamId
protected UnrealId Id
protected boolean Id_Set
protected Integer Team
protected boolean Team_Set
protected Integer Score
protected boolean Score_Set
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 - protected void setTeamId(ITeamId TeamId)
public ITeamId getTeamId()
public UnrealId getId()
TeamScoregetId in interface IWorldObjectUpdatedEventgetId in interface IWorldObjectgetId in interface ICompositeWorldObjectUpdatedEventgetId in class TeamScorepublic Integer getScore()
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 toHtmlString()
toHtmlString in class TeamScoreCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.