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

Package class diagram package 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.
 String getType()
          Class of the vehicle.
 boolean isDifferentFrom(IStaticWorldObject other)
           
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleStatic
getCompositeClass, getSimTime, setSimTime
 
Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
toJsonLiteral
 
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

getType

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

Specified by:
getType in class VehicleStatic

isDifferentFrom

public boolean isDifferentFrom(IStaticWorldObject other)
Specified by:
isDifferentFrom in interface IStaticWorldObject
Overrides:
isDifferentFrom in class VehicleStatic

toString

public String toString()
Overrides:
toString in class VehicleStatic

toHtmlString

public String toHtmlString()
Overrides:
toHtmlString in class VehicleStatic


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.