public class IncomingProjectileCompositeImpl extends IncomingProjectile
IncomingProjectile.IncomingProjectileUpdate, IncomingProjectile.ObjectDisappeared| Modifier and Type | Field and Description |
|---|---|
protected IncomingProjectileLocalImpl |
partLocal |
protected IncomingProjectileStaticImpl |
partStatic |
PROTOTYPE, SimTime| Constructor and Description |
|---|
IncomingProjectileCompositeImpl()
Parameter-less contructor for the message.
|
IncomingProjectileCompositeImpl(IncomingProjectileCompositeImpl original)
Cloning constructor.
|
IncomingProjectileCompositeImpl(IncomingProjectileLocalImpl partLocal,
IncomingProjectileSharedImpl partShared,
IncomingProjectileStaticImpl partStatic)
Composite-impl constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
double |
getImpactTime()
Estimated time till impact.
|
IncomingProjectileLocal |
getLocal() |
Location |
getLocation()
Current location of the projectile.
|
Location |
getOrigin()
Possition of the origin, when combined with direction can
define the line of fire.
|
IncomingProjectileShared |
getShared() |
double |
getSpeed()
Current speed of the projectile.
|
IncomingProjectileStatic |
getStatic() |
String |
getType()
The class of the projectile (so you know what is flying
against you).
|
Velocity |
getVelocity()
Current velocity vector of the projectile.
|
boolean |
isVisible()
The class of the projectile (so you know what is flying
against you).
|
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
createDisappearEvent, getSimTime, toJsonLiteralprotected IncomingProjectileStaticImpl partStatic
protected IncomingProjectileLocalImpl partLocal
public IncomingProjectileCompositeImpl()
public IncomingProjectileCompositeImpl(IncomingProjectileLocalImpl partLocal, IncomingProjectileSharedImpl partShared, IncomingProjectileStaticImpl partStatic)
partLocal - local-part of the messagepartShared - shared-part of the messagepartStatic - static-part of the messagepublic IncomingProjectileCompositeImpl(IncomingProjectileCompositeImpl original)
original - public void setSimTime(long SimTime)
IncomingProjectilesetSimTime in class IncomingProjectilepublic IncomingProjectileStatic getStatic()
public IncomingProjectileLocal getLocal()
public IncomingProjectileShared getShared()
public UnrealId getId()
IncomingProjectilegetId in interface IWorldObjectgetId in class IncomingProjectilepublic double getImpactTime()
IncomingProjectilegetImpactTime in class IncomingProjectilepublic javax.vecmath.Vector3d getDirection()
IncomingProjectilegetDirection in class IncomingProjectilepublic Location getLocation()
IncomingProjectilegetLocation in interface ILocatedgetLocation in class IncomingProjectilepublic Velocity getVelocity()
IncomingProjectilegetVelocity in class IncomingProjectilepublic double getSpeed()
IncomingProjectilegetSpeed in class IncomingProjectilepublic Location getOrigin()
IncomingProjectilegetOrigin in class IncomingProjectilepublic double getDamageRadius()
IncomingProjectilegetDamageRadius in class IncomingProjectilepublic String getType()
IncomingProjectilegetType in class IncomingProjectilepublic boolean isVisible()
IncomingProjectileisVisible in interface IViewableisVisible in class IncomingProjectilepublic String toString()
toString in class IncomingProjectilepublic String toHtmlString()
toHtmlString in class IncomingProjectileCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.