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

Package class diagram package FlagInfoMessage.FlagInfoLocalMessage
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.FlagInfoLocal
          extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.FlagInfoMessage.FlagInfoLocalMessage
All Implemented Interfaces:
IWorldObject, ILocalViewable, ILocalWorldObject, ILocalGBViewable, Cloneable
Enclosing class:
FlagInfoMessage

public class FlagInfoMessage.FlagInfoLocalMessage
extends FlagInfoLocal

Implementation of the local 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.FlagInfoLocal
FlagInfoLocal.ObjectDisappeared
 
Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.FlagInfoLocal
SimTime
 
Constructor Summary
FlagInfoMessage.FlagInfoLocalMessage()
           
 
Method Summary
 FlagInfoMessage.FlagInfoLocalMessage clone()
           
 UnrealId getId()
          An unique Id for this flag, assigned by the game.
 FlagInfoMessage.FlagInfoLocalMessage getLocal()
           
 ISharedWorldObject getShared()
           
 IStaticWorldObject getStatic()
           
 boolean isVisible()
          True if the bot can see the flag.
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.FlagInfoLocal
createDisappearEvent, 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.FlagInfoLocalMessage

public FlagInfoMessage.FlagInfoLocalMessage()
Method Detail

clone

public FlagInfoMessage.FlagInfoLocalMessage clone()
Specified by:
clone in interface ILocalWorldObject
Specified by:
clone in class FlagInfoLocal

getLocal

public FlagInfoMessage.FlagInfoLocalMessage getLocal()
Overrides:
getLocal in class FlagInfoLocal

getShared

public ISharedWorldObject getShared()
Overrides:
getShared in class FlagInfoLocal

getStatic

public IStaticWorldObject getStatic()
Overrides:
getStatic in class FlagInfoLocal

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 FlagInfoLocal

isVisible

public boolean isVisible()
True if the bot can see the flag.

Specified by:
isVisible in interface ILocalViewable
Specified by:
isVisible in class FlagInfoLocal

toString

public String toString()
Overrides:
toString in class FlagInfoLocal

toHtmlString

public String toHtmlString()
Overrides:
toHtmlString in class FlagInfoLocal


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