cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class TeamScoreStaticImpl

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScoreStatic
          extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScoreStaticImpl
All Implemented Interfaces:
IWorldObject, IStaticWorldObject

public class TeamScoreStaticImpl
extends TeamScoreStatic

Implementation of the static part of the GameBots2004 message TES.

Complete message documentation: Synchronous message. Contains the info about team score.


Nested Class Summary
static class TeamScoreStaticImpl.TeamScoreStaticUpdate
           
 
Field Summary
protected  UnrealId Id
          Message identifier.
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScoreStatic
SimTime
 
Constructor Summary
TeamScoreStaticImpl()
          Parameter-less contructor for the message.
TeamScoreStaticImpl(TeamScore original)
          Cloning constructor from the full message.
TeamScoreStaticImpl(TeamScoreStatic original)
          Cloning constructor from the message part.
TeamScoreStaticImpl(TeamScoreStaticImpl original)
          Cloning constructor from the full message.
TeamScoreStaticImpl(UnrealId Id)
          Creates new instance of the message TeamScore.
 
Method Summary
 TeamScoreStaticImpl clone()
           
 UnrealId getId()
          Message 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.TeamScoreStatic
getCompositeClass, getSimTime
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Id

protected UnrealId Id
Message identifier.

Constructor Detail

TeamScoreStaticImpl

public TeamScoreStaticImpl()
Parameter-less contructor for the message.


TeamScoreStaticImpl

public TeamScoreStaticImpl(UnrealId Id)
Creates new instance of the message TeamScore. Synchronous message. Contains the info about team score. Corresponding GameBots message (static part) is TES.

Parameters:
Id - Message identifier.

TeamScoreStaticImpl

public TeamScoreStaticImpl(TeamScore original)
Cloning constructor from the full message.

Parameters:
original -

TeamScoreStaticImpl

public TeamScoreStaticImpl(TeamScoreStaticImpl original)
Cloning constructor from the full message.

Parameters:
original -

TeamScoreStaticImpl

public TeamScoreStaticImpl(TeamScoreStatic original)
Cloning constructor from the message part.

Parameters:
original -
Method Detail

setSimTime

public void setSimTime(long SimTime)
Description copied from class: TeamScoreStatic
Used by Yylex to slip correct time of the object or programmatically.

Overrides:
setSimTime in class TeamScoreStatic

clone

public TeamScoreStaticImpl clone()
Specified by:
clone in class TeamScoreStatic

getId

public UnrealId getId()
Message identifier.

Specified by:
getId in interface IWorldObject
Specified by:
getId in class TeamScoreStatic
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class TeamScoreStatic

toHtmlString

public java.lang.String toHtmlString()
Overrides:
toHtmlString in class TeamScoreStatic