cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class FlagInfoMessage.FlagInfoStaticMessage

Package class diagram package FlagInfoMessage.FlagInfoStaticMessage
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.FlagInfoMessage.FlagInfoStaticMessage
All Implemented Interfaces:
IWorldObject, IStaticWorldObject
Enclosing class:
FlagInfoMessage

public class FlagInfoMessage.FlagInfoStaticMessage
extends FlagInfoStatic

Implementation of the static part of the GameBots2004 message FLG, used to facade FLGMessage.

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


Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.FlagInfoStatic
SimTime
 
Constructor Summary
FlagInfoMessage.FlagInfoStaticMessage()
           
 
Method Summary
 FlagInfoMessage.FlagInfoStaticMessage clone()
           
 UnrealId getId()
          An unique Id for this flag, assigned by the game.
 boolean isDifferentFrom(IStaticWorldObject other)
           
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.FlagInfoStatic
getCompositeClass, getSimTime, setSimTime
 
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
 

Constructor Detail

FlagInfoMessage.FlagInfoStaticMessage

public FlagInfoMessage.FlagInfoStaticMessage()
Method Detail

clone

public FlagInfoMessage.FlagInfoStaticMessage 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

isDifferentFrom

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

toString

public String toString()
Overrides:
toString in class FlagInfoStatic

toHtmlString

public String toHtmlString()
Overrides:
toHtmlString in class FlagInfoStatic


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