|
|||||||||
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.TeamScore cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScoreCompositeImpl
public class TeamScoreCompositeImpl
Composite implementation of the TES abstract message. It wraps Local/Shared/Static parts in single object allowing to presenting a nice facade for users.
Complete message documentation: Synchronous message. Contains the info about team score.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScore |
---|
TeamScore.TeamScoreUpdate |
Field Summary | |
---|---|
protected TeamScoreLocalImpl |
partLocal
|
protected TeamScoreStaticImpl |
partStatic
|
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScore |
---|
PROTOTYPE, SimTime |
Constructor Summary | |
---|---|
TeamScoreCompositeImpl()
Parameter-less contructor for the message. |
|
TeamScoreCompositeImpl(TeamScoreCompositeImpl original)
Cloning constructor. |
|
TeamScoreCompositeImpl(TeamScoreLocalImpl partLocal,
TeamScoreSharedImpl partShared,
TeamScoreStaticImpl partStatic)
Composite-impl constructor. |
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. |
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toString()
|
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScore |
---|
getSimTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected TeamScoreStaticImpl partStatic
protected TeamScoreLocalImpl partLocal
Constructor Detail |
---|
public TeamScoreCompositeImpl()
public TeamScoreCompositeImpl(TeamScoreLocalImpl partLocal, TeamScoreSharedImpl partShared, TeamScoreStaticImpl partStatic)
partLocal
- local-part of the messagepartShared
- shared-part of the messagepartStatic
- static-part of the messagepublic TeamScoreCompositeImpl(TeamScoreCompositeImpl original)
original
- Method Detail |
---|
public void setSimTime(long SimTime)
TeamScore
setSimTime
in class TeamScore
public TeamScoreStatic getStatic()
public TeamScoreLocal getLocal()
public TeamScoreShared getShared()
public UnrealId getId()
TeamScore
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 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 |