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

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScoreLocal
          extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScoreLocalImpl
All Implemented Interfaces:
IWorldObject, ILocalWorldObject, java.lang.Cloneable

public class TeamScoreLocalImpl
extends TeamScoreLocal

Implementation of the local part of the GameBots2004 message TES.

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


Nested Class Summary
static class TeamScoreLocalImpl.TeamScoreLocalUpdate
           
 
Field Summary
protected  UnrealId Id
          Message identifier.
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScoreLocal
SimTime
 
Constructor Summary
TeamScoreLocalImpl()
          Parameter-less contructor for the message.
TeamScoreLocalImpl(TeamScore original)
          Cloning constructor from the full message.
TeamScoreLocalImpl(TeamScoreLocal original)
          Cloning constructor from the message part.
TeamScoreLocalImpl(TeamScoreLocalImpl original)
          Cloning constructor from the full message.
TeamScoreLocalImpl(UnrealId Id)
          Creates new instance of the message TeamScore.
 
Method Summary
 TeamScoreLocalImpl clone()
           
 UnrealId getId()
          Message identifier.
 TeamScoreLocalImpl getLocal()
           
 ISharedWorldObject getShared()
           
 IStaticWorldObject getStatic()
           
 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.TeamScoreLocal
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

TeamScoreLocalImpl

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


TeamScoreLocalImpl

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

Parameters:
Id - Message identifier.

TeamScoreLocalImpl

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

Parameters:
original -

TeamScoreLocalImpl

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

Parameters:
original -

TeamScoreLocalImpl

public TeamScoreLocalImpl(TeamScoreLocal original)
Cloning constructor from the message part.

Parameters:
original -
Method Detail

setSimTime

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

Overrides:
setSimTime in class TeamScoreLocal

clone

public TeamScoreLocalImpl clone()
Specified by:
clone in interface ILocalWorldObject
Specified by:
clone in class TeamScoreLocal

getId

public UnrealId getId()
Message identifier.

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

getLocal

public TeamScoreLocalImpl getLocal()
Overrides:
getLocal in class TeamScoreLocal

getShared

public ISharedWorldObject getShared()
Overrides:
getShared in class TeamScoreLocal

getStatic

public IStaticWorldObject getStatic()
Overrides:
getStatic in class TeamScoreLocal

toString

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

toHtmlString

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