|
||||||||||
| 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.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()
|
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()
|
Integer |
getTeam()
Team identifier. |
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically. |
String |
toHtmlString()
|
String |
toString()
|
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScore |
|---|
getSimTime, toJsonLiteral |
| 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 TeamScorepublic TeamScoreStatic getStatic()
public TeamScoreLocal getLocal()
public TeamScoreShared getShared()
public UnrealId getId()
TeamScore
getId in interface IWorldObjectgetId in class TeamScorepublic Integer getTeam()
TeamScore
getTeam in class TeamScorepublic Integer getScore()
TeamScore
getScore in class TeamScorepublic 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 | |||||||||