public abstract class IncomingProjectileLocal extends InfoMessage implements ILocalWorldObject, ILocalGBViewable
Modifier and Type | Class and Description |
---|---|
static class |
IncomingProjectileLocal.ObjectDisappeared |
Modifier and Type | Field and Description |
---|---|
protected long |
SimTime |
Constructor and Description |
---|
IncomingProjectileLocal()
Parameter-less contructor for the message.
|
Modifier and Type | Method and Description |
---|---|
abstract IncomingProjectileLocal |
clone() |
ILocalWorldObjectUpdatedEvent |
createDisappearEvent()
Creates an update event that has to update visibility to false.
|
Class |
getCompositeClass() |
abstract UnrealId |
getId()
Unique Id of the projectile.
|
abstract double |
getImpactTime()
Estimated time till impact.
|
IncomingProjectileLocal |
getLocal() |
ISharedWorldObject |
getShared() |
long |
getSimTime()
Simulation time in MILLI SECONDS !!!
|
IStaticWorldObject |
getStatic() |
abstract boolean |
isVisible()
The class of the projectile (so you know what is flying
against you).
|
protected void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
toJsonLiteral
public IncomingProjectileLocal()
public long getSimTime()
getSimTime
in interface IWorldObject
protected void setSimTime(long SimTime)
public abstract IncomingProjectileLocal clone()
clone
in interface ILocalWorldObject
clone
in class Object
public Class getCompositeClass()
getCompositeClass
in interface ILocalWorldObject
public abstract UnrealId getId()
getId
in interface IWorldObject
public abstract double getImpactTime()
public abstract boolean isVisible()
isVisible
in interface ILocalViewable
public IncomingProjectileLocal getLocal()
public ISharedWorldObject getShared()
public IStaticWorldObject getStatic()
public ILocalWorldObjectUpdatedEvent createDisappearEvent()
ILocalGBViewable
createDisappearEvent
in interface ILocalGBViewable
public String toString()
toString
in class InfoMessage
public String toHtmlString()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.