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

Package class diagram package 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 this self message instance.
 
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 this self message instance.
 boolean isDifferentFrom(IStaticWorldObject other)
           
 void setSimTime(long SimTime)
          Used by Yylex to slip correct time of the object or programmatically.
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.SelfStatic
getCompositeClass, getSimTime
 
Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
toJsonLiteral
 
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 this self message instance.

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 this self message instance.

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 this self message instance.

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

isDifferentFrom

public boolean isDifferentFrom(IStaticWorldObject other)
Specified by:
isDifferentFrom in interface IStaticWorldObject
Overrides:
isDifferentFrom in class SelfStatic

toString

public String toString()
Overrides:
toString in class SelfStatic

toHtmlString

public String toHtmlString()
Overrides:
toHtmlString in class SelfStatic


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.