public class IncomingProjectileMessage.IncomingProjectileSharedMessage extends IncomingProjectileShared
| Modifier and Type | Field and Description |
|---|---|
protected DoubleProperty |
myDamageRadius
If the projectile has splash damage, how big it is – in ut
units.
|
protected Vector3dProperty |
myDirection
Which direction projectile is heading to -> orientation
vector.
|
protected LocationProperty |
myLocation
Current location of the projectile.
|
protected LocationProperty |
myOrigin
Possition of the origin, when combined with direction can
define the line of fire.
|
protected DoubleProperty |
mySpeed
Current speed of the projectile.
|
protected StringProperty |
myType
The class of the projectile (so you know what is flying
against you).
|
protected VelocityProperty |
myVelocity
Current velocity vector of the projectile.
|
protected HashMap<PropertyId,ISharedProperty> |
propertyMap |
DamageRadiusPropertyToken, DirectionPropertyToken, LocationPropertyToken, OriginPropertyToken, SharedPropertyTokens, SimTime, SpeedPropertyToken, TypePropertyToken, VelocityPropertyToken| Constructor and Description |
|---|
IncomingProjectileMessage.IncomingProjectileSharedMessage() |
| Modifier and Type | Method and Description |
|---|---|
IncomingProjectileMessage.IncomingProjectileSharedMessage |
clone() |
double |
getDamageRadius()
If the projectile has splash damage, how big it is – in ut
units.
|
javax.vecmath.Vector3d |
getDirection()
Which direction projectile is heading to -> orientation
vector.
|
UnrealId |
getId()
Unique Id of the projectile.
|
Location |
getLocation()
Current location of the projectile.
|
Location |
getOrigin()
Possition of the origin, when combined with direction can
define the line of fire.
|
Map<PropertyId,ISharedProperty> |
getProperties() |
ISharedProperty |
getProperty(PropertyId id) |
double |
getSpeed()
Current speed of the projectile.
|
String |
getType()
The class of the projectile (so you know what is flying
against you).
|
Velocity |
getVelocity()
Current velocity vector of the projectile.
|
String |
toHtmlString() |
String |
toString() |
getCompositeClass, getSimTime, setSimTimetoJsonLiteralprotected HashMap<PropertyId,ISharedProperty> propertyMap
protected Vector3dProperty myDirection
protected LocationProperty myLocation
protected VelocityProperty myVelocity
protected DoubleProperty mySpeed
protected LocationProperty myOrigin
protected DoubleProperty myDamageRadius
protected StringProperty myType
public IncomingProjectileMessage.IncomingProjectileSharedMessage()
public IncomingProjectileMessage.IncomingProjectileSharedMessage clone()
clone in interface ISharedWorldObjectclone in class IncomingProjectileSharedpublic ISharedProperty getProperty(PropertyId id)
public Map<PropertyId,ISharedProperty> getProperties()
public UnrealId getId()
getId in interface IWorldObjectgetId in class IncomingProjectileSharedpublic javax.vecmath.Vector3d getDirection()
getDirection in class IncomingProjectileSharedpublic Location getLocation()
getLocation in interface ILocatedgetLocation in class IncomingProjectileSharedpublic Velocity getVelocity()
getVelocity in class IncomingProjectileSharedpublic double getSpeed()
getSpeed in class IncomingProjectileSharedpublic Location getOrigin()
getOrigin in class IncomingProjectileSharedpublic double getDamageRadius()
getDamageRadius in class IncomingProjectileSharedpublic String getType()
getType in class IncomingProjectileSharedpublic String toString()
toString in class IncomingProjectileSharedpublic String toHtmlString()
toHtmlString in class IncomingProjectileSharedCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.