public class VehicleMessage.VehicleSharedMessage extends VehicleShared
| Modifier and Type | Field and Description |
|---|---|
protected IntegerProperty |
myArmor
How much the vehicle has left.
|
protected UnrealIdProperty |
myDriver
Unique Id of the driver - if any.
|
protected IntegerProperty |
myHealth
How much health the vehicle has left.
|
protected LocationProperty |
myLocation
An absolute location of the vehicle within the map.
|
protected RotationProperty |
myRotation
Which direction the vehicle is facing in absolute terms.
|
protected IntegerProperty |
myTeam
What team the vehicle is on.
|
protected BooleanProperty |
myTeamLocked
If the vehicle is locked just for its current team.
|
protected VelocityProperty |
myVelocity
Absolute velocity of the vehicle as a vector of movement per one
game second.
|
protected HashMap<PropertyId,ISharedProperty> |
propertyMap |
ArmorPropertyToken, DriverPropertyToken, HealthPropertyToken, LocationPropertyToken, RotationPropertyToken, SharedPropertyTokens, SimTime, TeamLockedPropertyToken, TeamPropertyToken, VelocityPropertyToken| Constructor and Description |
|---|
VehicleMessage.VehicleSharedMessage() |
| Modifier and Type | Method and Description |
|---|---|
VehicleMessage.VehicleSharedMessage |
clone() |
Integer |
getArmor()
How much the vehicle has left.
|
UnrealId |
getDriver()
Unique Id of the driver - if any.
|
Integer |
getHealth()
How much health the vehicle has left.
|
UnrealId |
getId()
Unique Id of the vehicle or vehicle part.
|
Location |
getLocation()
An absolute location of the vehicle within the map.
|
Map<PropertyId,ISharedProperty> |
getProperties() |
ISharedProperty |
getProperty(PropertyId id) |
Rotation |
getRotation()
Which direction the vehicle is facing in absolute terms.
|
Integer |
getTeam()
What team the vehicle is on.
|
Velocity |
getVelocity()
Absolute velocity of the vehicle as a vector of movement per one
game second.
|
boolean |
isTeamLocked()
If the vehicle is locked just for its current team.
|
String |
toHtmlString() |
String |
toString() |
getCompositeClass, getSimTime, setSimTimetoJsonLiteralprotected HashMap<PropertyId,ISharedProperty> propertyMap
protected RotationProperty myRotation
protected LocationProperty myLocation
protected VelocityProperty myVelocity
protected IntegerProperty myTeam
protected IntegerProperty myHealth
protected IntegerProperty myArmor
protected UnrealIdProperty myDriver
protected BooleanProperty myTeamLocked
public VehicleMessage.VehicleSharedMessage clone()
clone in interface ISharedWorldObjectclone in class VehicleSharedpublic ISharedProperty getProperty(PropertyId id)
public Map<PropertyId,ISharedProperty> getProperties()
public UnrealId getId()
getId in interface IWorldObjectgetId in class VehicleSharedpublic Rotation getRotation()
getRotation in interface IRotablegetRotation in class VehicleSharedpublic Location getLocation()
getLocation in interface ILocatedgetLocation in class VehicleSharedpublic Velocity getVelocity()
getVelocity in interface ILocomotivegetVelocity in class VehicleSharedpublic Integer getTeam()
getTeam in class VehicleSharedpublic Integer getHealth()
getHealth in class VehicleSharedpublic Integer getArmor()
getArmor in class VehicleSharedpublic UnrealId getDriver()
getDriver in class VehicleSharedpublic boolean isTeamLocked()
isTeamLocked in class VehicleSharedpublic String toString()
toString in class VehicleSharedpublic String toHtmlString()
toHtmlString in class VehicleSharedCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.