public class NavPointSharedImpl extends NavPointShared
Modifier and Type | Class and Description |
---|---|
static class |
NavPointSharedImpl.NavPointSharedUpdate |
Modifier and Type | Field and Description |
---|---|
protected UnrealId |
Id
A unique Id of this navigation point assigned by the game.
|
protected BooleanProperty |
myDoorOpened
True if this NavPoint is a Door and door is opened.
|
protected BooleanProperty |
myInvSpot
If this is an inventory spot (item is respawned at this point).
|
protected BooleanProperty |
myItemSpawned
True if the item is spawned at the point.
|
protected LocationProperty |
myLocation
Location of navigation point.
|
protected BooleanProperty |
myPlayerStart
If this is a player start (players and/or bots are respawned at this point).
|
protected VelocityProperty |
myVelocity
Velocity of the navigation point (if the navigation point is
currently moving).
|
protected HashMap<PropertyId,ISharedProperty> |
propertyMap |
DoorOpenedPropertyToken, InvSpotPropertyToken, ItemSpawnedPropertyToken, LocationPropertyToken, PlayerStartPropertyToken, SharedPropertyTokens, SimTime, VelocityPropertyToken
Constructor and Description |
---|
NavPointSharedImpl(NavPointSharedImpl source) |
NavPointSharedImpl(WorldObjectId objectId,
Collection<ISharedProperty> properties) |
Modifier and Type | Method and Description |
---|---|
NavPointSharedImpl |
clone() |
UnrealId |
getId()
A unique Id of this navigation point assigned by the game.
|
Location |
getLocation()
Location of navigation point.
|
Map<PropertyId,ISharedProperty> |
getProperties() |
ISharedProperty |
getProperty(PropertyId id) |
Velocity |
getVelocity()
Velocity of the navigation point (if the navigation point is
currently moving).
|
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 |
isPlayerStart()
If this is a player start (players and/or bots are respawned at this point).
|
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
getCompositeClass, getSimTime
toJsonLiteral
protected HashMap<PropertyId,ISharedProperty> propertyMap
protected UnrealId Id
protected LocationProperty myLocation
protected VelocityProperty myVelocity
protected BooleanProperty myItemSpawned
protected BooleanProperty myDoorOpened
protected BooleanProperty myInvSpot
protected BooleanProperty myPlayerStart
public NavPointSharedImpl(NavPointSharedImpl source)
public NavPointSharedImpl(WorldObjectId objectId, Collection<ISharedProperty> properties)
public void setSimTime(long SimTime)
NavPointShared
setSimTime
in class NavPointShared
public NavPointSharedImpl clone()
clone
in interface ISharedWorldObject
clone
in class NavPointShared
public ISharedProperty getProperty(PropertyId id)
public Map<PropertyId,ISharedProperty> getProperties()
public UnrealId getId()
getId
in interface IWorldObject
getId
in class NavPointShared
public Location getLocation()
getLocation
in interface ILocated
getLocation
in class NavPointShared
public Velocity getVelocity()
getVelocity
in interface ILocomotive
getVelocity
in class NavPointShared
public boolean isItemSpawned()
isItemSpawned
in class NavPointShared
public boolean isDoorOpened()
isDoorOpened
in class NavPointShared
public boolean isInvSpot()
isInvSpot
in class NavPointShared
public boolean isPlayerStart()
isPlayerStart
in class NavPointShared
public String toString()
toString
in class NavPointShared
public String toHtmlString()
toHtmlString
in class NavPointShared
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.