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

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleStatic
          extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleMessage.VehicleStaticMessage
All Implemented Interfaces:
IWorldObject, IStaticWorldObject
Enclosing class:
VehicleMessage

public class VehicleMessage.VehicleStaticMessage
extends VehicleStatic

Implementation of the static 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.


Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleStatic
SimTime
 
Constructor Summary
VehicleMessage.VehicleStaticMessage()
           
 
Method Summary
 VehicleMessage.VehicleStaticMessage clone()
           
 UnrealId getId()
          Unique Id of the vehicle or vehicle part.
 java.lang.String getType()
          Class of the vehicle.
 java.lang.String toHtmlString()
           
 java.lang.String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleStatic
getCompositeClass, getSimTime, setSimTime
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VehicleMessage.VehicleStaticMessage

public VehicleMessage.VehicleStaticMessage()
Method Detail

clone

public VehicleMessage.VehicleStaticMessage clone()
Specified by:
clone in class VehicleStatic

getId

public UnrealId getId()
Unique Id of the vehicle or vehicle part.

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

getType

public java.lang.String getType()
Class of the vehicle. If it is a car, turret etc.

Specified by:
getType in class VehicleStatic

toString

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

toHtmlString

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