|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.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 VehicleLocalpublic VehicleLocalImpl clone()
clone in interface ILocalWorldObjectclone in class VehicleLocalpublic UnrealId getId()
getId in interface IWorldObjectgetId in class VehicleLocalpublic boolean isVisible()
isVisible in interface ILocalViewableisVisible in class VehicleLocalpublic VehicleLocalImpl getLocal()
getLocal in class VehicleLocalpublic ISharedWorldObject getShared()
getShared in class VehicleLocalpublic IStaticWorldObject getStatic()
getStatic in class VehicleLocalpublic String toString()
toString in class VehicleLocalpublic String toHtmlString()
toHtmlString in class VehicleLocal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||