|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPointStatic
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPointMessage.NavPointStaticMessage
public class NavPointMessage.NavPointStaticMessage
Implementation of the static 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.).
| Field Summary |
|---|
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPointStatic |
|---|
SimTime |
| Constructor Summary | |
|---|---|
NavPointMessage.NavPointStaticMessage()
|
|
| Method Summary | |
|---|---|
NavPointMessage.NavPointStaticMessage |
clone()
|
int |
getDomPointController()
Exported if this NavPoint is a DominationPoint (for BotDoubleDomination game) - which team controls this point. |
UnrealId |
getId()
A unique Id of this navigation point assigned by the game. |
Map<UnrealId,NavPointNeighbourLink> |
getIncomingEdges()
Maps edge-ORIGINATES_FROM-navpoint-UnrealId to neighbour link, those are incoming edges (those edges that originates in different navpoint and ends here, do not use this to ask whether you can get to navpoint of specific unreal id, use OutgoingEdges instead). |
UnrealId |
getItem()
Unique Id of the respawned item (the item respawns at this point). |
ItemType |
getItemClass()
Class of the item (e.g. |
Item |
getItemInstance()
If item should be present at this navpoint it's instance will be here. |
javax.vecmath.Vector3d |
getLiftOffset()
Starting vector between MyLift location and LiftCenter location. |
UnrealId |
getMover()
If this NavPoint is marking some mover, the mover id will be here. |
Map<UnrealId,NavPointNeighbourLink> |
getOutgoingEdges()
Maps edge-LEADING_TO-navpoint-UnrealId to neighbour link, those are outgoing edges (those edges that originates in this navpoint going to another one, those you may usually travel). |
String |
getPreferedWeapon()
Class of the weapon that should be prefered when using this point for AIMarker specified action. |
Rotation |
getRotation()
If the type is AIMarker. |
int |
getTeamNumber()
Will be sent if this is a player start. |
boolean |
isAIMarker()
If this point is an AI marker - marks an interesting spot in the environment. |
boolean |
isDifferentFrom(IStaticWorldObject other)
|
boolean |
isDomPoint()
If this point marks a DominationPoint (for BotDoubleDomination game). |
boolean |
isDoor()
If this point marks a door mover. |
boolean |
isInvSpot()
If this is an inventory spot (item is respawned at this point). |
boolean |
isJumpDest()
If this point marks a jump destination - some place that can be reached by some special jump. |
boolean |
isJumpPad()
If this point marks a jump pad (a special device that causes the bot to jump high or far). |
boolean |
isJumpSpot()
If this point marks a jump spot (a special device that causes the bot to jump high or far). |
boolean |
isLiftCenter()
If this point marks a lift center (used to mark center of a lift mover, note that this point will be always moved with the lift). |
boolean |
isLiftExit()
If this point marks a lift exit (used to mark exit point of a lift mover). |
boolean |
isLiftJumpExit()
Boolean. |
boolean |
isNoDoubleJump()
Boolean. |
boolean |
isPlayerStart()
If this is a player start (players and/or bots are respawned at this point). |
boolean |
isRoamingSpot()
Some ambush point, where is good chance to intercept approaching opponents. |
boolean |
isSnipingSpot()
Point good for sniping. |
boolean |
isTeleporter()
If this point marks a teleport. |
String |
toHtmlString()
|
String |
toString()
|
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPointStatic |
|---|
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 |
|---|
public NavPointMessage.NavPointStaticMessage()
| Method Detail |
|---|
public NavPointMessage.NavPointStaticMessage clone()
clone in class NavPointStaticpublic UnrealId getId()
getId in interface IWorldObjectgetId in class NavPointStaticpublic UnrealId getItem()
getItem in class NavPointStaticpublic ItemType getItemClass()
getItemClass in class NavPointStaticpublic UnrealId getMover()
getMover in class NavPointStaticpublic javax.vecmath.Vector3d getLiftOffset()
getLiftOffset in class NavPointStaticpublic boolean isLiftJumpExit()
isLiftJumpExit in class NavPointStaticpublic boolean isNoDoubleJump()
isNoDoubleJump in class NavPointStaticpublic boolean isInvSpot()
isInvSpot in class NavPointStaticpublic boolean isPlayerStart()
isPlayerStart in class NavPointStaticpublic int getTeamNumber()
getTeamNumber in class NavPointStaticpublic boolean isDomPoint()
isDomPoint in class NavPointStaticpublic int getDomPointController()
getDomPointController in class NavPointStaticpublic boolean isDoor()
isDoor in class NavPointStaticpublic boolean isLiftCenter()
isLiftCenter in class NavPointStaticpublic boolean isLiftExit()
isLiftExit in class NavPointStaticpublic boolean isAIMarker()
isAIMarker in class NavPointStaticpublic boolean isJumpSpot()
isJumpSpot in class NavPointStaticpublic boolean isJumpPad()
isJumpPad in class NavPointStaticpublic boolean isJumpDest()
isJumpDest in class NavPointStaticpublic boolean isTeleporter()
isTeleporter in class NavPointStaticpublic Rotation getRotation()
getRotation in class NavPointStaticpublic boolean isRoamingSpot()
isRoamingSpot in class NavPointStaticpublic boolean isSnipingSpot()
isSnipingSpot in class NavPointStaticpublic Item getItemInstance()
getItemInstance in class NavPointStaticpublic Map<UnrealId,NavPointNeighbourLink> getOutgoingEdges()
getOutgoingEdges in class NavPointStaticpublic Map<UnrealId,NavPointNeighbourLink> getIncomingEdges()
getIncomingEdges in class NavPointStaticpublic String getPreferedWeapon()
getPreferedWeapon in class NavPointStaticpublic boolean isDifferentFrom(IStaticWorldObject other)
isDifferentFrom in interface IStaticWorldObjectisDifferentFrom in class NavPointStaticpublic String toString()
toString in class NavPointStaticpublic String toHtmlString()
toHtmlString in class NavPointStatic
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||