cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class MoverMessage.MoverLocalMessage

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MoverLocal
          extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MoverMessage.MoverLocalMessage
All Implemented Interfaces:
IWorldObject, ILocalViewable, ILocalWorldObject, ILocalGBViewable, java.lang.Cloneable
Enclosing class:
MoverMessage

public class MoverMessage.MoverLocalMessage
extends MoverLocal

Implementation of the local part of the GameBots2004 message MOV, used to facade MOVMessage.

Complete message documentation: Synchronous message. Movers can be doors, elevators, or any other chunk of architecture that can move. They generally need to be either run into, or activated by shooting or pressing a button. We are working on ways to provide bots with more of the information they need to deal with movers appropriately.


Nested Class Summary
 
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MoverLocal
MoverLocal.ObjectDisappeared
 
Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MoverLocal
SimTime
 
Constructor Summary
MoverMessage.MoverLocalMessage()
           
 
Method Summary
 MoverMessage.MoverLocalMessage clone()
           
 UnrealId getId()
          A unique Id of this mover assigned by the game.
 MoverMessage.MoverLocalMessage getLocal()
           
 ISharedWorldObject getShared()
           
 IStaticWorldObject getStatic()
           
 boolean isReachable()
          True if the bot can run here, false otherwise.
 boolean isVisible()
          If the mover is in the field of view of the bot.
 java.lang.String toHtmlString()
           
 java.lang.String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MoverLocal
createDisappearEvent, getCompositeClass, getSimTime, setSimTime
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MoverMessage.MoverLocalMessage

public MoverMessage.MoverLocalMessage()
Method Detail

clone

public MoverMessage.MoverLocalMessage clone()
Specified by:
clone in interface ILocalWorldObject
Specified by:
clone in class MoverLocal

getLocal

public MoverMessage.MoverLocalMessage getLocal()
Overrides:
getLocal in class MoverLocal

getShared

public ISharedWorldObject getShared()
Overrides:
getShared in class MoverLocal

getStatic

public IStaticWorldObject getStatic()
Overrides:
getStatic in class MoverLocal

getId

public UnrealId getId()
A unique Id of this mover assigned by the game.

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

isVisible

public boolean isVisible()
If the mover is in the field of view of the bot.

Specified by:
isVisible in interface ILocalViewable
Specified by:
isVisible in class MoverLocal
Returns:

isReachable

public boolean isReachable()
True if the bot can run here, false otherwise.

Specified by:
isReachable in class MoverLocal

toString

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

toHtmlString

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