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

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

public class SelfLocalImpl
extends SelfLocal

Implementation of the local part of the GameBots2004 message SLF.

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


Nested Class Summary
static class SelfLocalImpl.SelfLocalUpdate
           
 
Field Summary
protected  UnrealId Id
          Unique Id of the bot.
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.SelfLocal
SimTime
 
Constructor Summary
SelfLocalImpl()
          Parameter-less contructor for the message.
SelfLocalImpl(Self original)
          Cloning constructor from the full message.
SelfLocalImpl(SelfLocal original)
          Cloning constructor from the message part.
SelfLocalImpl(SelfLocalImpl original)
          Cloning constructor from the full message.
SelfLocalImpl(UnrealId Id)
          Creates new instance of the message Self.
 
Method Summary
 SelfLocalImpl clone()
           
 UnrealId getId()
          Unique Id of the bot.
 SelfLocalImpl 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.SelfLocal
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

SelfLocalImpl

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


SelfLocalImpl

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

Parameters:
Id - Unique Id of the bot.

SelfLocalImpl

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

Parameters:
original -

SelfLocalImpl

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

Parameters:
original -

SelfLocalImpl

public SelfLocalImpl(SelfLocal original)
Cloning constructor from the message part.

Parameters:
original -
Method Detail

setSimTime

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

Overrides:
setSimTime in class SelfLocal

clone

public SelfLocalImpl clone()
Specified by:
clone in interface ILocalWorldObject
Specified by:
clone in class SelfLocal

getId

public UnrealId getId()
Unique Id of the bot.

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

getLocal

public SelfLocalImpl getLocal()
Overrides:
getLocal in class SelfLocal

getShared

public ISharedWorldObject getShared()
Overrides:
getShared in class SelfLocal

getStatic

public IStaticWorldObject getStatic()
Overrides:
getStatic in class SelfLocal

toString

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

toHtmlString

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