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, getSimTimetoJsonLiteralprotected 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)
MoverSharedsetSimTime in class MoverSharedpublic MoverSharedImpl clone()
clone in interface ISharedWorldObjectclone in class MoverSharedpublic ISharedProperty getProperty(PropertyId id)
public Map<PropertyId,ISharedProperty> getProperties()
public UnrealId getId()
getId in interface IWorldObjectgetId in class MoverSharedpublic Location getLocation()
getLocation in interface ILocatedgetLocation in class MoverSharedpublic Velocity getVelocity()
getVelocity in interface ILocomotivegetVelocity in class MoverSharedpublic String getState()
getState in class MoverSharedpublic String toString()
toString in class MoverSharedpublic String toHtmlString()
toHtmlString in class MoverSharedCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.