cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class LocationUpdateMessage.LocationUpdateLocalMessage
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.LocationUpdateLocal
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.
LocationUpdateMessage.LocationUpdateLocalMessage
public LocationUpdateMessage.LocationUpdateLocalMessage()
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.