|
||||||||||
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.VehicleLocal cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleLocalImpl
public class VehicleLocalImpl
Implementation of the local 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 |
VehicleLocalImpl.VehicleLocalUpdate
|
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleLocal |
---|
VehicleLocal.ObjectDisappeared |
Field Summary | |
---|---|
protected UnrealId |
Id
Unique Id of the vehicle or vehicle part. |
protected boolean |
Visible
If the vehicle is in the field of view of the bot. |
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.VehicleLocal |
---|
SimTime |
Constructor Summary | |
---|---|
VehicleLocalImpl()
Parameter-less contructor for the message. |
|
VehicleLocalImpl(UnrealId Id,
boolean Visible)
Creates new instance of the message Vehicle. |
|
VehicleLocalImpl(Vehicle original)
Cloning constructor from the full message. |
|
VehicleLocalImpl(VehicleLocal original)
Cloning constructor from the message part. |
|
VehicleLocalImpl(VehicleLocalImpl original)
Cloning constructor from the full message. |
Method Summary | |
---|---|
VehicleLocalImpl |
clone()
|
UnrealId |
getId()
Unique Id of the vehicle or vehicle part. |
VehicleLocalImpl |
getLocal()
|
ISharedWorldObject |
getShared()
|
IStaticWorldObject |
getStatic()
|
boolean |
isVisible()
If the vehicle is in the field of view of the bot. |
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.VehicleLocal |
---|
createDisappearEvent, 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 boolean Visible
Constructor Detail |
---|
public VehicleLocalImpl()
public VehicleLocalImpl(UnrealId Id, boolean Visible)
Id
- Unique Id of the vehicle or vehicle part.Visible
- If the vehicle is in the field of view of the bot.public VehicleLocalImpl(Vehicle original)
original
- public VehicleLocalImpl(VehicleLocalImpl original)
original
- public VehicleLocalImpl(VehicleLocal original)
original
- Method Detail |
---|
public void setSimTime(long SimTime)
VehicleLocal
setSimTime
in class VehicleLocal
public VehicleLocalImpl clone()
clone
in interface ILocalWorldObject
clone
in class VehicleLocal
public UnrealId getId()
getId
in interface IWorldObject
getId
in class VehicleLocal
public boolean isVisible()
isVisible
in interface ILocalViewable
isVisible
in class VehicleLocal
public VehicleLocalImpl getLocal()
getLocal
in class VehicleLocal
public ISharedWorldObject getShared()
getShared
in class VehicleLocal
public IStaticWorldObject getStatic()
getStatic
in class VehicleLocal
public String toString()
toString
in class VehicleLocal
public String toHtmlString()
toHtmlString
in class VehicleLocal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |