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

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

public class InitedMessageStaticImpl
extends InitedMessageStatic

Implementation of the static part of the GameBots2004 message INITED.

Complete message documentation: Asynchronous message. Sent after succesfull init command (so usually just once). Holds many attributes of the bots like speed, id starting and max health, etc. Some attributes are not used due to GameBots mechanics.


Nested Class Summary
static class InitedMessageStaticImpl.InitedMessageStaticUpdate
           
 
Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessageStatic
InitedMessageId, SimTime
 
Constructor Summary
InitedMessageStaticImpl()
          Parameter-less contructor for the message.
InitedMessageStaticImpl(InitedMessage original)
          Cloning constructor from the full message.
InitedMessageStaticImpl(InitedMessageStatic original)
          Cloning constructor from the message part.
InitedMessageStaticImpl(InitedMessageStaticImpl original)
          Cloning constructor from the full message.
 
Method Summary
 InitedMessageStaticImpl clone()
           
 UnrealId getId()
          Returns an id of the object that is unique among all world objects.
 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.InitedMessageStatic
getCompositeClass, getSimTime
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InitedMessageStaticImpl

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


InitedMessageStaticImpl

public InitedMessageStaticImpl(InitedMessage original)
Cloning constructor from the full message.

Parameters:
original -

InitedMessageStaticImpl

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

Parameters:
original -

InitedMessageStaticImpl

public InitedMessageStaticImpl(InitedMessageStatic original)
Cloning constructor from the message part.

Parameters:
original -
Method Detail

getId

public UnrealId getId()
Description copied from interface: IWorldObject
Returns an id of the object that is unique among all world objects.

Specified by:
getId in interface IWorldObject
Overrides:
getId in class InitedMessageStatic
Returns:

setSimTime

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

Overrides:
setSimTime in class InitedMessageStatic

clone

public InitedMessageStaticImpl clone()
Specified by:
clone in class InitedMessageStatic

toString

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

toHtmlString

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