public class NavPointStaticImpl extends NavPointStatic
| Modifier and Type | Class and Description |
|---|---|
static class |
NavPointStaticImpl.NavPointStaticUpdate |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
AIMarker
If this point is an AI marker - marks an interesting spot in the environment.
|
protected boolean |
DomPoint
If this point marks a DominationPoint (for BotDoubleDomination game).
|
protected int |
DomPointController
Exported if this NavPoint is a DominationPoint (for BotDoubleDomination game) - which team controls this point.
|
protected boolean |
Door
If this point marks a door mover.
|
protected UnrealId |
Id
A unique Id of this navigation point assigned by the game.
|
protected Map<UnrealId,NavPointNeighbourLink> |
IncomingEdges
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).
|
protected UnrealId |
Item
Unique Id of the respawned item (the item respawns at this
point).
|
protected ItemType |
ItemClass
Class of the item (e.g.
|
protected Item |
ItemInstance
If item should be present at this navpoint it's instance will be here.
|
protected boolean |
JumpDest
If this point marks a jump destination - some place that can be reached by some special jump.
|
protected boolean |
JumpPad
If this point marks a jump pad (a special device that causes the bot to jump high or far).
|
protected boolean |
JumpSpot
If this point marks a jump spot (a special device that causes the bot to jump high or far).
|
protected boolean |
LiftCenter
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).
|
protected boolean |
LiftExit
If this point marks a lift exit (used to mark exit point of a lift mover).
|
protected boolean |
LiftJumpExit
Boolean.
|
protected javax.vecmath.Vector3d |
LiftOffset
Starting vector between MyLift location and LiftCenter location.
|
protected UnrealId |
Mover
If this NavPoint is marking some mover, the mover id will be here.
|
protected boolean |
NoDoubleJump
Boolean.
|
protected Map<UnrealId,NavPointNeighbourLink> |
OutgoingEdges
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).
|
protected String |
PreferedWeapon
Class of the weapon that should be prefered when using this
point for AIMarker specified action.
|
protected boolean |
RoamingSpot
Some ambush point, where is good chance to intercept
approaching opponents.
|
protected Rotation |
Rotation
If the type is AIMarker.
|
protected boolean |
SnipingSpot
Point good for sniping.
|
protected int |
TeamNumber
Will be sent if this is a player start.
|
protected boolean |
Teleporter
If this point marks a teleport.
|
SimTime| Constructor and Description |
|---|
NavPointStaticImpl()
Parameter-less contructor for the message.
|
NavPointStaticImpl(NavPoint original)
Cloning constructor from the full message.
|
NavPointStaticImpl(NavPointStatic original)
Cloning constructor from the message part.
|
NavPointStaticImpl(NavPointStaticImpl original)
Cloning constructor from the full message.
|
NavPointStaticImpl(UnrealId Id,
UnrealId Item,
ItemType ItemClass,
UnrealId Mover,
javax.vecmath.Vector3d LiftOffset,
boolean LiftJumpExit,
boolean NoDoubleJump,
int TeamNumber,
boolean DomPoint,
int DomPointController,
boolean Door,
boolean LiftCenter,
boolean LiftExit,
boolean AIMarker,
boolean JumpSpot,
boolean JumpPad,
boolean JumpDest,
boolean Teleporter,
Rotation Rotation,
boolean RoamingSpot,
boolean SnipingSpot,
Item ItemInstance,
Map<UnrealId,NavPointNeighbourLink> OutgoingEdges,
Map<UnrealId,NavPointNeighbourLink> IncomingEdges,
String PreferedWeapon)
Creates new instance of the message NavPoint.
|
| Modifier and Type | Method and Description |
|---|---|
NavPointStaticImpl |
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 |
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 |
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.
|
void |
setItemInstance(Item item)
DO NOT USE THIS METHOD! Reserved for GaviaLib (Pogamut core)! It's used
to set correct item instance into the NavPoint.
|
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
getCompositeClass, getSimTimetoJsonLiteralprotected UnrealId Id
protected UnrealId Item
protected ItemType ItemClass
protected UnrealId Mover
protected javax.vecmath.Vector3d LiftOffset
protected boolean LiftJumpExit
protected boolean NoDoubleJump
protected int TeamNumber
protected boolean DomPoint
protected int DomPointController
protected boolean Door
protected boolean LiftCenter
protected boolean LiftExit
protected boolean AIMarker
protected boolean JumpSpot
protected boolean JumpPad
protected boolean JumpDest
protected boolean Teleporter
protected Rotation Rotation
protected boolean RoamingSpot
protected boolean SnipingSpot
protected Item ItemInstance
protected Map<UnrealId,NavPointNeighbourLink> OutgoingEdges
protected Map<UnrealId,NavPointNeighbourLink> IncomingEdges
protected String PreferedWeapon
public NavPointStaticImpl()
public NavPointStaticImpl(UnrealId Id, UnrealId Item, ItemType ItemClass, UnrealId Mover, javax.vecmath.Vector3d LiftOffset, boolean LiftJumpExit, boolean NoDoubleJump, int TeamNumber, boolean DomPoint, int DomPointController, boolean Door, boolean LiftCenter, boolean LiftExit, boolean AIMarker, boolean JumpSpot, boolean JumpPad, boolean JumpDest, boolean Teleporter, Rotation Rotation, boolean RoamingSpot, boolean SnipingSpot, Item ItemInstance, Map<UnrealId,NavPointNeighbourLink> OutgoingEdges, Map<UnrealId,NavPointNeighbourLink> IncomingEdges, String PreferedWeapon)
Id - A unique Id of this navigation point assigned by the game.Item - Unique Id of the respawned item (the item respawns at this
point). Not sent if point is not an inventory spot. Sent only in HandShake.ItemClass - Class of the item (e.g. xWeapons.FlakCannonPickup). Not sent if point is not an inventory spot. Sent only in HandShake.Mover - If this NavPoint is marking some mover, the mover id will be here. Not sent if point is not a Door, a LiftCenter or a LiftExit. Sent only in HandShake.LiftOffset - Starting vector between MyLift location and LiftCenter location. Not sent if point is not a LiftCenter. Sent only in HandShake.LiftJumpExit - Boolean. If we can/should exit the lift by a jump when near the destination place. Not sent if point is not a LiftExit. Sent only in HandShake.NoDoubleJump - Boolean. If we should or not use double jump when exiting lift with a jump. Not sent if point is not a LiftExit. Sent only in HandShake.TeamNumber - Will be sent if this is a player start. In Team games (team deathmatch, capture the flag, domination) holds information about which team respawns at this player start spot. In non-team games will return 0!DomPoint - If this point marks a DominationPoint (for BotDoubleDomination game).DomPointController - Exported if this NavPoint is a DominationPoint (for BotDoubleDomination game) - which team controls this point.Door - If this point marks a door mover.LiftCenter - 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).LiftExit - If this point marks a lift exit (used to mark exit point of a lift mover).AIMarker - If this point is an AI marker - marks an interesting spot in the environment. May be ambush point or sniping spot, etc.JumpSpot - If this point marks a jump spot (a special device that causes the bot to jump high or far).JumpPad - If this point marks a jump pad (a special device that causes the bot to jump high or far).JumpDest - If this point marks a jump destination - some place that can be reached by some special jump.Teleporter - If this point marks a teleport.Rotation - If the type is AIMarker. The rotation the bot should be
facing, when doing the action specified by AIMarker. Sent only in HandShake.RoamingSpot - Some ambush point, where is good chance to intercept
approaching opponents. Sent only in HandShake.SnipingSpot - Point good for sniping. Sent only in HandShake.ItemInstance - If item should be present at this navpoint it's instance will be here.OutgoingEdges - 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).IncomingEdges - 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).PreferedWeapon - Class of the weapon that should be prefered when using this
point for AIMarker specified action. Sent only in HandShake.public NavPointStaticImpl(NavPoint original)
original - public NavPointStaticImpl(NavPointStaticImpl original)
original - public NavPointStaticImpl(NavPointStatic original)
original - public void setSimTime(long SimTime)
NavPointStaticsetSimTime in class NavPointStaticpublic NavPointStaticImpl 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 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 NavPointStaticpublic void setItemInstance(Item item)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.