cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class VehicleMessage.VehicleLocalMessage
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleLocal
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleMessage.VehicleLocalMessage
- All Implemented Interfaces:
- IWorldObject, ILocalViewable, ILocalWorldObject, ILocalGBViewable, java.lang.Cloneable
- Enclosing class:
- VehicleMessage
public class VehicleMessage.VehicleLocalMessage
- extends VehicleLocal
Implementation of the local part of the GameBots2004 message VEH, used
to facade VEHMessage.
Complete message documentation:
Synchronous message. Holds vehicles we see. Id for vehicles doesn't work, so
this message is without Id. We can join vehicles by ENTER command if we are
close enough - ussually 100 ut units or less. Note: Vehicle support is
in aplha testing right now.
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleLocal |
SimTime |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VehicleMessage.VehicleLocalMessage
public VehicleMessage.VehicleLocalMessage()
clone
public VehicleMessage.VehicleLocalMessage clone()
- Specified by:
clone
in interface ILocalWorldObject
- Specified by:
clone
in class VehicleLocal
getLocal
public VehicleMessage.VehicleLocalMessage getLocal()
- Overrides:
getLocal
in class VehicleLocal
getShared
public ISharedWorldObject getShared()
- Overrides:
getShared
in class VehicleLocal
getStatic
public IStaticWorldObject getStatic()
- Overrides:
getStatic
in class VehicleLocal
getId
public UnrealId getId()
- Unique Id of the vehicle or vehicle part.
- Specified by:
getId
in interface IWorldObject
- Specified by:
getId
in class VehicleLocal
- Returns:
isVisible
public boolean isVisible()
- If the vehicle is in the field of view of the bot.
- Specified by:
isVisible
in interface ILocalViewable
- Specified by:
isVisible
in class VehicleLocal
- Returns:
toString
public java.lang.String toString()
- Overrides:
toString
in class VehicleLocal
toHtmlString
public java.lang.String toHtmlString()
- Overrides:
toHtmlString
in class VehicleLocal