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