|
||||||||||
| 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.LocationUpdateLocal
public abstract class LocationUpdateLocal
Abstract definition of the local part of the GameBots2004 message UPD.
Complete message documentation: "Synchronous" message. Arrives outside sync. batch. The frequency of this message is configured through locUpdateMultiplier variable in GameBots2004.ini file. It gets exported N times faster than regular sync. batch where N equals locUpdateMultiplier. Holds information about Location, Velocity and Rotation of the bot and should help us to create more robust navigation.
| Field Summary | |
|---|---|
protected long |
SimTime
|
| Constructor Summary | |
|---|---|
LocationUpdateLocal()
Parameter-less contructor for the message. |
|
| Method Summary | |
|---|---|
abstract LocationUpdateLocal |
clone()
|
Class |
getCompositeClass()
|
abstract UnrealId |
getId()
Unique Id of this update message instance. |
abstract Location |
getLoc()
An absolute location of the bot. |
LocationUpdateLocal |
getLocal()
|
abstract Rotation |
getRot()
Which direction the bot is facing in absolute terms. |
ISharedWorldObject |
getShared()
|
long |
getSimTime()
Simulation time in MILLI SECONDS !!! |
IStaticWorldObject |
getStatic()
|
abstract Velocity |
getVel()
Absolute velocity of the bot as a vector of movement per one game second. |
protected 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.base.communication.messages.InfoMessage |
|---|
toJsonLiteral |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected long SimTime
| Constructor Detail |
|---|
public LocationUpdateLocal()
| Method Detail |
|---|
public long getSimTime()
getSimTime in interface IWorldObjectprotected void setSimTime(long SimTime)
public abstract LocationUpdateLocal clone()
clone in interface ILocalWorldObjectclone in class Objectpublic Class getCompositeClass()
getCompositeClass in interface ILocalWorldObjectpublic abstract UnrealId getId()
getId in interface IWorldObjectpublic abstract Location getLoc()
public abstract Velocity getVel()
public abstract Rotation getRot()
public LocationUpdateLocal getLocal()
public ISharedWorldObject getShared()
public IStaticWorldObject getStatic()
public String toString()
toString in class InfoMessagepublic String toHtmlString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||