cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class BombInfoMessage.BombInfoLocalMessage

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

public class BombInfoMessage.BombInfoLocalMessage
extends BombInfoLocal

Implementation of the local part of the GameBots2004 message BOM, used to facade BOMMessage.

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

BombInfoMessage.BombInfoLocalMessage

public BombInfoMessage.BombInfoLocalMessage()
Method Detail

clone

public BombInfoMessage.BombInfoLocalMessage clone()
Specified by:
clone in interface ILocalWorldObject
Specified by:
clone in class BombInfoLocal

getLocal

public BombInfoMessage.BombInfoLocalMessage getLocal()
Overrides:
getLocal in class BombInfoLocal

getShared

public ISharedWorldObject getShared()
Overrides:
getShared in class BombInfoLocal

getStatic

public IStaticWorldObject getStatic()
Overrides:
getStatic in class BombInfoLocal

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 BombInfoLocal

isVisible

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

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

toString

public String toString()
Overrides:
toString in class BombInfoLocal

toHtmlString

public String toHtmlString()
Overrides:
toHtmlString in class BombInfoLocal


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