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

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

public class FlagInfoStaticImpl
extends FlagInfoStatic

Implementation of the static part of the GameBots2004 message FLG.

Complete message documentation: Synchronous message. FlagInfo contains all info about the flag in the CTF game mode. Is not sent in other game types.


Nested Class Summary
static class FlagInfoStaticImpl.FlagInfoStaticUpdate
           
 
Field Summary
protected  UnrealId Id
          An unique Id for this flag, assigned by the game.
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.FlagInfoStatic
SimTime
 
Constructor Summary
FlagInfoStaticImpl()
          Parameter-less contructor for the message.
FlagInfoStaticImpl(FlagInfo original)
          Cloning constructor from the full message.
FlagInfoStaticImpl(FlagInfoStatic original)
          Cloning constructor from the message part.
FlagInfoStaticImpl(FlagInfoStaticImpl original)
          Cloning constructor from the full message.
FlagInfoStaticImpl(UnrealId Id)
          Creates new instance of the message FlagInfo.
 
Method Summary
 FlagInfoStaticImpl clone()
           
 UnrealId getId()
          An unique Id for this flag, 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.FlagInfoStatic
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 flag, assigned by the game.

Constructor Detail

FlagInfoStaticImpl

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


FlagInfoStaticImpl

public FlagInfoStaticImpl(UnrealId Id)
Creates new instance of the message FlagInfo. Synchronous message. FlagInfo contains all info about the flag in the CTF game mode. Is not sent in other game types. Corresponding GameBots message (static part) is FLG.

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

FlagInfoStaticImpl

public FlagInfoStaticImpl(FlagInfo original)
Cloning constructor from the full message.

Parameters:
original -

FlagInfoStaticImpl

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

Parameters:
original -

FlagInfoStaticImpl

public FlagInfoStaticImpl(FlagInfoStatic original)
Cloning constructor from the message part.

Parameters:
original -
Method Detail

setSimTime

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

Overrides:
setSimTime in class FlagInfoStatic

clone

public FlagInfoStaticImpl clone()
Specified by:
clone in class FlagInfoStatic

getId

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

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

toString

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

toHtmlString

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