cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class MoverMessage.MoverLocalMessage
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MoverLocal
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.
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.MoverLocal |
SimTime |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MoverMessage.MoverLocalMessage
public MoverMessage.MoverLocalMessage()
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