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

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

public class IncomingProjectileStaticImpl
extends IncomingProjectileStatic

Implementation of the static part of the GameBots2004 message PRJ.

Complete message documentation: Both asynchronous and synchronous message. Incoming projectile that we can see.


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

Constructor Detail

IncomingProjectileStaticImpl

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


IncomingProjectileStaticImpl

public IncomingProjectileStaticImpl(UnrealId Id)
Creates new instance of the message IncomingProjectile. Both asynchronous and synchronous message. Incoming projectile that we can see. Corresponding GameBots message (static part) is PRJ.

Parameters:
Id - Unique Id of the projectile.

IncomingProjectileStaticImpl

public IncomingProjectileStaticImpl(IncomingProjectile original)
Cloning constructor from the full message.

Parameters:
original -

IncomingProjectileStaticImpl

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

Parameters:
original -

IncomingProjectileStaticImpl

public IncomingProjectileStaticImpl(IncomingProjectileStatic original)
Cloning constructor from the message part.

Parameters:
original -
Method Detail

setSimTime

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

Overrides:
setSimTime in class IncomingProjectileStatic

clone

public IncomingProjectileStaticImpl clone()
Specified by:
clone in class IncomingProjectileStatic

getId

public UnrealId getId()
Unique Id of the projectile.

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

toString

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

toHtmlString

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