cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class VehicleMessage.VehicleLocalMessage

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleLocal
          extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleLocal
VehicleLocal.ObjectDisappeared
 
Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleLocal
SimTime
 
Constructor Summary
VehicleMessage.VehicleLocalMessage()
           
 
Method Summary
 VehicleMessage.VehicleLocalMessage clone()
           
 UnrealId getId()
          Unique Id of the vehicle or vehicle part.
 VehicleMessage.VehicleLocalMessage getLocal()
           
 ISharedWorldObject getShared()
           
 IStaticWorldObject getStatic()
           
 boolean isVisible()
          If the vehicle 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.VehicleLocal
createDisappearEvent, getCompositeClass, getSimTime, setSimTime
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VehicleMessage.VehicleLocalMessage

public VehicleMessage.VehicleLocalMessage()
Method Detail

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