cz.cuni.amis.pogamut.ut2004.communication.messages
Interface INavPoint

Package class diagram package INavPoint
All Superinterfaces:
cz.cuni.amis.pogamut.multi.communication.worldview.object.ICompositeWorldObject, cz.cuni.amis.pogamut.base3d.worldview.object.ILocated, cz.cuni.amis.pogamut.base3d.worldview.object.IViewable, cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject

public interface INavPoint
extends cz.cuni.amis.pogamut.base3d.worldview.object.ILocated, cz.cuni.amis.pogamut.base3d.worldview.object.IViewable, cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject

Synchronous message. NavPoint carries information about UT navigation point - location, reachability... Also some item can be respawned at this point. Or some additional information can be stored here (if it is an ambush point, or sniper point..). Corresponding GameBots message is NAV.


Method Summary
 String getFlag()
          What type is this NavPoint.
 cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
          A unique Id of this navigation point assigned by the game.
 cz.cuni.amis.pogamut.base.communication.worldview.object.WorldObjectId getItem()
          Unique Id of the respawned item (the item respawns at this point).
 cz.cuni.amis.pogamut.base3d.worldview.object.Location getLocation()
          Location of navigation point.
 Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,NavPointNeighbourLink> getNeighbourLinks()
          Retuns map with links to navpoint neighbours.
 String getPreferedWeapon()
          Class of the weapon that should be prefered when using this point for AIMarker specified action.
 cz.cuni.amis.pogamut.base3d.worldview.object.Rotation getRotation()
          If the type is AIMarker.
 boolean isRoamingSpot()
          Some ambush point, where is good chance to intercept approaching opponents.
 boolean isSnipingSpot()
          Point good for sniping.
 boolean isVisible()
          If the point is in the field of view of the bot.
 
Methods inherited from interface cz.cuni.amis.pogamut.multi.communication.worldview.object.ICompositeWorldObject
getLocal, getShared, getStatic
 
Methods inherited from interface cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject
getSimTime
 

Method Detail

getId

cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
A unique Id of this navigation point assigned by the game.

Specified by:
getId in interface cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject

getLocation

cz.cuni.amis.pogamut.base3d.worldview.object.Location getLocation()
Location of navigation point.

Specified by:
getLocation in interface cz.cuni.amis.pogamut.base3d.worldview.object.ILocated

isVisible

boolean isVisible()
If the point is in the field of view of the bot.

Specified by:
isVisible in interface cz.cuni.amis.pogamut.base3d.worldview.object.IViewable

getItem

cz.cuni.amis.pogamut.base.communication.worldview.object.WorldObjectId getItem()
Unique Id of the respawned item (the item respawns at this point).


getFlag

String getFlag()
What type is this NavPoint. The types are: PathNode, PlayerStart, InventorySpot and AIMarker. If the type is AIMarker, more attributes appear in NAV message - see below.


getRotation

cz.cuni.amis.pogamut.base3d.worldview.object.Rotation getRotation()
If the type is AIMarker. The rotation the bot should be facing, when doing the action specified by AIMarker.


isRoamingSpot

boolean isRoamingSpot()
Some ambush point, where is good chance to intercept approaching opponents.


isSnipingSpot

boolean isSnipingSpot()
Point good for sniping.


getPreferedWeapon

String getPreferedWeapon()
Class of the weapon that should be prefered when using this point for AIMarker specified action.


getNeighbourLinks

Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,NavPointNeighbourLink> getNeighbourLinks()
Retuns map with links to navpoint neighbours. Maps neighbour-navpoint-UnrealId to neighbour link.



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