|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.VehicleStaticImpl
public class VehicleStaticImpl
Implementation of the static part of the GameBots2004 message VEH.
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 | |
---|---|
static class |
VehicleStaticImpl.VehicleStaticUpdate
|
Field Summary | |
---|---|
protected UnrealId |
Id
Unique Id of the vehicle or vehicle part. |
protected String |
Type
Class of the vehicle. |
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleStatic |
---|
SimTime |
Constructor Summary | |
---|---|
VehicleStaticImpl()
Parameter-less contructor for the message. |
|
VehicleStaticImpl(UnrealId Id,
String Type)
Creates new instance of the message Vehicle. |
|
VehicleStaticImpl(Vehicle original)
Cloning constructor from the full message. |
|
VehicleStaticImpl(VehicleStatic original)
Cloning constructor from the message part. |
|
VehicleStaticImpl(VehicleStaticImpl original)
Cloning constructor from the full message. |
Method Summary | |
---|---|
VehicleStaticImpl |
clone()
|
UnrealId |
getId()
Unique Id of the vehicle or vehicle part. |
String |
getType()
Class of the vehicle. |
boolean |
isDifferentFrom(IStaticWorldObject other)
|
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically. |
String |
toHtmlString()
|
String |
toString()
|
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleStatic |
---|
getCompositeClass, getSimTime |
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 |
Field Detail |
---|
protected UnrealId Id
protected String Type
Constructor Detail |
---|
public VehicleStaticImpl()
public VehicleStaticImpl(UnrealId Id, String Type)
Id
- Unique Id of the vehicle or vehicle part.Type
- Class of the vehicle. If it is a car, turret etc.public VehicleStaticImpl(Vehicle original)
original
- public VehicleStaticImpl(VehicleStaticImpl original)
original
- public VehicleStaticImpl(VehicleStatic original)
original
- Method Detail |
---|
public void setSimTime(long SimTime)
VehicleStatic
setSimTime
in class VehicleStatic
public VehicleStaticImpl clone()
clone
in class VehicleStatic
public UnrealId getId()
getId
in interface IWorldObject
getId
in class VehicleStatic
public String getType()
getType
in class VehicleStatic
public boolean isDifferentFrom(IStaticWorldObject other)
isDifferentFrom
in interface IStaticWorldObject
isDifferentFrom
in class VehicleStatic
public String toString()
toString
in class VehicleStatic
public String toHtmlString()
toHtmlString
in class VehicleStatic
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |