public class MoverSharedImpl extends MoverShared
Modifier and Type | Class and Description |
---|---|
static class |
MoverSharedImpl.MoverSharedUpdate |
Modifier and Type | Field and Description |
---|---|
protected UnrealId |
Id
A unique Id of this mover assigned by the game.
|
protected LocationProperty |
myLocation
Location of the mover.
|
protected StringProperty |
myState
Name of the state Mover is currently in.
|
protected VelocityProperty |
myVelocity
Velocity vector.
|
protected HashMap<PropertyId,ISharedProperty> |
propertyMap |
LocationPropertyToken, SharedPropertyTokens, SimTime, StatePropertyToken, VelocityPropertyToken
Constructor and Description |
---|
MoverSharedImpl(MoverSharedImpl source) |
MoverSharedImpl(WorldObjectId objectId,
Collection<ISharedProperty> properties) |
Modifier and Type | Method and Description |
---|---|
MoverSharedImpl |
clone() |
UnrealId |
getId()
A unique Id of this mover assigned by the game.
|
Location |
getLocation()
Location of the mover.
|
Map<PropertyId,ISharedProperty> |
getProperties() |
ISharedProperty |
getProperty(PropertyId id) |
String |
getState()
Name of the state Mover is currently in.
|
Velocity |
getVelocity()
Velocity vector.
|
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 StringProperty myState
public MoverSharedImpl(MoverSharedImpl source)
public MoverSharedImpl(WorldObjectId objectId, Collection<ISharedProperty> properties)
public void setSimTime(long SimTime)
MoverShared
setSimTime
in class MoverShared
public MoverSharedImpl clone()
clone
in interface ISharedWorldObject
clone
in class MoverShared
public ISharedProperty getProperty(PropertyId id)
public Map<PropertyId,ISharedProperty> getProperties()
public UnrealId getId()
getId
in interface IWorldObject
getId
in class MoverShared
public Location getLocation()
getLocation
in interface ILocated
getLocation
in class MoverShared
public Velocity getVelocity()
getVelocity
in interface ILocomotive
getVelocity
in class MoverShared
public String getState()
getState
in class MoverShared
public String toString()
toString
in class MoverShared
public String toHtmlString()
toHtmlString
in class MoverShared
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.