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

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

public class BombInfoStaticImpl
extends BombInfoStatic

Implementation of the static part of the GameBots2004 message BOM.

Complete message documentation: Synchronous message. BombInfo contains all info about the bomb in the BotBombingRun game mode. Is not sent in other game types.


Nested Class Summary
static class BombInfoStaticImpl.BombInfoStaticUpdate
           
 
Field Summary
protected  UnrealId Id
          An unique Id for this bomb, assigned by the game.
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.BombInfoStatic
SimTime
 
Constructor Summary
BombInfoStaticImpl()
          Parameter-less contructor for the message.
BombInfoStaticImpl(BombInfo original)
          Cloning constructor from the full message.
BombInfoStaticImpl(BombInfoStatic original)
          Cloning constructor from the message part.
BombInfoStaticImpl(BombInfoStaticImpl original)
          Cloning constructor from the full message.
BombInfoStaticImpl(UnrealId Id)
          Creates new instance of the message BombInfo.
 
Method Summary
 BombInfoStaticImpl clone()
           
 UnrealId getId()
          An unique Id for this bomb, assigned by the game.
 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.BombInfoStatic
getCompositeClass, getSimTime
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Id

protected UnrealId Id
An unique Id for this bomb, assigned by the game.

Constructor Detail

BombInfoStaticImpl

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


BombInfoStaticImpl

public BombInfoStaticImpl(UnrealId Id)
Creates new instance of the message BombInfo. Synchronous message. BombInfo contains all info about the bomb in the BotBombingRun game mode. Is not sent in other game types. Corresponding GameBots message (static part) is BOM.

Parameters:
Id - An unique Id for this bomb, assigned by the game.

BombInfoStaticImpl

public BombInfoStaticImpl(BombInfo original)
Cloning constructor from the full message.

Parameters:
original -

BombInfoStaticImpl

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

Parameters:
original -

BombInfoStaticImpl

public BombInfoStaticImpl(BombInfoStatic original)
Cloning constructor from the message part.

Parameters:
original -
Method Detail

setSimTime

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

Overrides:
setSimTime in class BombInfoStatic

clone

public BombInfoStaticImpl clone()
Specified by:
clone in class BombInfoStatic

getId

public UnrealId getId()
An unique Id for this bomb, assigned by the game.

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

toString

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

toHtmlString

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