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

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

public class SelfStaticImpl
extends SelfStatic

Implementation of the static part of the GameBots2004 message SLF.

Complete message documentation: Synchronous message. Information about your bot's state.


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

Field Detail

Id

protected UnrealId Id
Unique Id of the bot.

Constructor Detail

SelfStaticImpl

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


SelfStaticImpl

public SelfStaticImpl(UnrealId Id)
Creates new instance of the message Self. Synchronous message. Information about your bot's state. Corresponding GameBots message (static part) is SLF.

Parameters:
Id - Unique Id of the bot.

SelfStaticImpl

public SelfStaticImpl(Self original)
Cloning constructor from the full message.

Parameters:
original -

SelfStaticImpl

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

Parameters:
original -

SelfStaticImpl

public SelfStaticImpl(SelfStatic original)
Cloning constructor from the message part.

Parameters:
original -
Method Detail

setSimTime

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

Overrides:
setSimTime in class SelfStatic

clone

public SelfStaticImpl clone()
Specified by:
clone in class SelfStatic

getId

public UnrealId getId()
Unique Id of the bot.

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

toString

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

toHtmlString

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