cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class NavPointMessage.NavPointLocalMessage

Package class diagram package NavPointMessage.NavPointLocalMessage
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPointLocal
          extended by 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.).


Nested Class Summary
 
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPointLocal
NavPointLocal.ObjectDisappeared
 
Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPointLocal
SimTime
 
Constructor Summary
NavPointMessage.NavPointLocalMessage()
           
 
Method Summary
 NavPointMessage.NavPointLocalMessage clone()
           
 UnrealId getId()
          A unique Id of this navigation point assigned by the game.
 NavPointMessage.NavPointLocalMessage getLocal()
           
 ISharedWorldObject getShared()
           
 IStaticWorldObject getStatic()
           
 boolean isVisible()
          If the point is in the field of view of the bot.
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPointLocal
createDisappearEvent, 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

NavPointMessage.NavPointLocalMessage

public NavPointMessage.NavPointLocalMessage()
Method Detail

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 © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.