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.TeamScoreUpdate
IWorldObjectUpdatedEvent.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, toJsonLiteral
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSimTime
protected 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()
TeamScore
getId
in interface IWorldObjectUpdatedEvent
getId
in interface IWorldObject
getId
in interface ICompositeWorldObjectUpdatedEvent
getId
in class TeamScore
public Integer getScore()
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 ILocalWorldObjectUpdatedEvent getLocalEvent()
getLocalEvent
in interface ICompositeWorldObjectUpdatedEvent
public ISharedWorldObjectUpdatedEvent getSharedEvent()
getSharedEvent
in interface ICompositeWorldObjectUpdatedEvent
public IStaticWorldObjectUpdatedEvent getStaticEvent()
getStaticEvent
in interface ICompositeWorldObjectUpdatedEvent
public String toHtmlString()
toHtmlString
in class TeamScore
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.