public class NavPointCompositeImpl extends NavPoint
NavPoint.NavPointUpdate, NavPoint.ObjectDisappeared| Modifier and Type | Field and Description |
|---|---|
protected NavPointLocalImpl |
partLocal |
protected NavPointStaticImpl |
partStatic |
| Constructor and Description |
|---|
NavPointCompositeImpl()
Parameter-less contructor for the message.
|
NavPointCompositeImpl(NavPointCompositeImpl original)
Cloning constructor.
|
NavPointCompositeImpl(NavPointLocalImpl partLocal,
NavPointSharedImpl partShared,
NavPointStaticImpl partStatic)
Composite-impl constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
NavPointLocal |
getLocal() |
Location |
getLocation()
Location of navigation point.
|
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.
|
NavPointShared |
getShared() |
NavPointStatic |
getStatic() |
int |
getTeamNumber()
Will be sent if this is a player start.
|
Velocity |
getVelocity()
Velocity of the navigation point (if the navigation point is
currently moving).
|
boolean |
isAIMarker()
If this point is an AI marker - marks an interesting spot in the environment.
|
boolean |
isDomPoint()
If this point marks a DominationPoint (for BotDoubleDomination game).
|
boolean |
isDoor()
If this point marks a door mover.
|
boolean |
isDoorOpened()
True if this NavPoint is a Door and door is opened.
|
boolean |
isInvSpot()
If this is an inventory spot (item is respawned at this point).
|
boolean |
isItemSpawned()
True if the item is spawned at the 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.
|
boolean |
isVisible()
If the point is in the field of view of the bot.
|
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
createDisappearEvent, getSimTime, toJsonLiteralprotected NavPointStaticImpl partStatic
protected NavPointLocalImpl partLocal
public NavPointCompositeImpl()
public NavPointCompositeImpl(NavPointLocalImpl partLocal, NavPointSharedImpl partShared, NavPointStaticImpl partStatic)
partLocal - local-part of the messagepartShared - shared-part of the messagepartStatic - static-part of the messagepublic NavPointCompositeImpl(NavPointCompositeImpl original)
original - public void setSimTime(long SimTime)
NavPointsetSimTime in class NavPointpublic NavPointStatic getStatic()
public NavPointLocal getLocal()
public NavPointShared getShared()
public UnrealId getId()
NavPointgetId in interface IWorldObjectgetId in class NavPointpublic Location getLocation()
NavPointgetLocation in interface ILocatedgetLocation in class NavPointpublic Velocity getVelocity()
NavPointgetVelocity in interface ILocomotivegetVelocity in class NavPointpublic boolean isVisible()
NavPointpublic UnrealId getItem()
NavPointpublic ItemType getItemClass()
NavPointgetItemClass in class NavPointpublic boolean isItemSpawned()
NavPointisItemSpawned in class NavPointpublic boolean isDoorOpened()
NavPointisDoorOpened in class NavPointpublic UnrealId getMover()
NavPointpublic javax.vecmath.Vector3d getLiftOffset()
NavPointgetLiftOffset in class NavPointpublic boolean isLiftJumpExit()
NavPointisLiftJumpExit in class NavPointpublic boolean isNoDoubleJump()
NavPointisNoDoubleJump in class NavPointpublic boolean isInvSpot()
NavPointpublic boolean isPlayerStart()
NavPointisPlayerStart in class NavPointpublic int getTeamNumber()
NavPointgetTeamNumber in class NavPointpublic boolean isDomPoint()
NavPointisDomPoint in class NavPointpublic int getDomPointController()
NavPointgetDomPointController in class NavPointpublic boolean isDoor()
NavPointpublic boolean isLiftCenter()
NavPointisLiftCenter in class NavPointpublic boolean isLiftExit()
NavPointisLiftExit in class NavPointpublic boolean isAIMarker()
NavPointisAIMarker in class NavPointpublic boolean isJumpSpot()
NavPointisJumpSpot in class NavPointpublic boolean isJumpPad()
NavPointpublic boolean isJumpDest()
NavPointisJumpDest in class NavPointpublic boolean isTeleporter()
NavPointisTeleporter in class NavPointpublic Rotation getRotation()
NavPointgetRotation in class NavPointpublic boolean isRoamingSpot()
NavPointisRoamingSpot in class NavPointpublic boolean isSnipingSpot()
NavPointisSnipingSpot in class NavPointpublic Item getItemInstance()
NavPointgetItemInstance in class NavPointpublic Map<UnrealId,NavPointNeighbourLink> getOutgoingEdges()
NavPointgetOutgoingEdges in class NavPointpublic Map<UnrealId,NavPointNeighbourLink> getIncomingEdges()
NavPointgetIncomingEdges in class NavPointpublic String getPreferedWeapon()
NavPointgetPreferedWeapon in class NavPointpublic String toHtmlString()
toHtmlString in class NavPointCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.