cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class NavPointMessage.NavPointLocalMessage
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPointLocal
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPointMessage.NavPointLocalMessage
- All Implemented Interfaces:
- IWorldObject, ILocalViewable, ILocalWorldObject, ILocalGBViewable, Cloneable
- Enclosing class:
- NavPointMessage
public class NavPointMessage.NavPointLocalMessage
- extends NavPointLocal
Implementation of the local part of the GameBots2004 message NAV, used
to facade NAVMessage.
Complete message documentation:
Synchronous message - however only NavPoints marking item pickup locations are exported synchronously. Other NavPoints are not exported synchronously at all, even if the bot can actually see them (but note that ALL NavPoints are exported in the handshake between bot and the server). Exporting NavPoints synchronously took a lot of UT server resources with limited information gain (in Pogamut there is now available visibility matrix holding static information which points can be seen from other points). NavPoint carries information about UT navigation point - location, paths and some additional information are stored there (if it is an ambush point, or sniper point, etc.).
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPointLocal |
SimTime |
NavPointMessage.NavPointLocalMessage
public NavPointMessage.NavPointLocalMessage()
clone
public NavPointMessage.NavPointLocalMessage clone()
- Specified by:
clone
in interface ILocalWorldObject
- Specified by:
clone
in class NavPointLocal
getLocal
public NavPointMessage.NavPointLocalMessage getLocal()
- Overrides:
getLocal
in class NavPointLocal
getShared
public ISharedWorldObject getShared()
- Overrides:
getShared
in class NavPointLocal
getStatic
public IStaticWorldObject getStatic()
- Overrides:
getStatic
in class NavPointLocal
getId
public UnrealId getId()
- A unique Id of this navigation point assigned by the game.
- Specified by:
getId
in interface IWorldObject
- Specified by:
getId
in class NavPointLocal
isVisible
public boolean isVisible()
- If the point is in the field of view of the bot.
- Specified by:
isVisible
in interface ILocalViewable
- Specified by:
isVisible
in class NavPointLocal
toString
public String toString()
- Overrides:
toString
in class NavPointLocal
toHtmlString
public String toHtmlString()
- Overrides:
toHtmlString
in class NavPointLocal
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.