cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class LocationUpdateMessage.LocationUpdateLocalMessage

Package class diagram package LocationUpdateMessage.LocationUpdateLocalMessage
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.LocationUpdateLocal
          extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.LocationUpdateMessage.LocationUpdateLocalMessage
All Implemented Interfaces:
IWorldObject, ILocalWorldObject, Cloneable
Enclosing class:
LocationUpdateMessage

public class LocationUpdateMessage.LocationUpdateLocalMessage
extends LocationUpdateLocal

Implementation of the local part of the GameBots2004 message UPD, used to facade UPDMessage.

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
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.LocationUpdateLocal
SimTime
 
Constructor Summary
LocationUpdateMessage.LocationUpdateLocalMessage()
           
 
Method Summary
 LocationUpdateMessage.LocationUpdateLocalMessage clone()
           
 UnrealId getId()
          Unique Id of this update message instance.
 Location getLoc()
          An absolute location of the bot.
 LocationUpdateMessage.LocationUpdateLocalMessage getLocal()
           
 Rotation getRot()
          Which direction the bot is facing in absolute terms.
 ISharedWorldObject getShared()
           
 IStaticWorldObject getStatic()
           
 Velocity getVel()
          Absolute velocity of the bot as a vector of movement per one game second.
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.LocationUpdateLocal
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

LocationUpdateMessage.LocationUpdateLocalMessage

public LocationUpdateMessage.LocationUpdateLocalMessage()
Method Detail

clone

public LocationUpdateMessage.LocationUpdateLocalMessage clone()
Specified by:
clone in interface ILocalWorldObject
Specified by:
clone in class LocationUpdateLocal

getLocal

public LocationUpdateMessage.LocationUpdateLocalMessage getLocal()
Overrides:
getLocal in class LocationUpdateLocal

getShared

public ISharedWorldObject getShared()
Overrides:
getShared in class LocationUpdateLocal

getStatic

public IStaticWorldObject getStatic()
Overrides:
getStatic in class LocationUpdateLocal

getId

public UnrealId getId()
Unique Id of this update message instance.

Specified by:
getId in interface IWorldObject
Specified by:
getId in class LocationUpdateLocal

getLoc

public Location getLoc()
An absolute location of the bot.

Specified by:
getLoc in class LocationUpdateLocal

getVel

public Velocity getVel()
Absolute velocity of the bot as a vector of movement per one game second.

Specified by:
getVel in class LocationUpdateLocal

getRot

public Rotation getRot()
Which direction the bot is facing in absolute terms.

Specified by:
getRot in class LocationUpdateLocal

toString

public String toString()
Overrides:
toString in class LocationUpdateLocal

toHtmlString

public String toHtmlString()
Overrides:
toHtmlString in class LocationUpdateLocal


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