public class MoverCompositeImpl extends Mover
Mover.MoverUpdate, Mover.ObjectDisappeared
Modifier and Type | Field and Description |
---|---|
protected MoverLocalImpl |
partLocal |
protected MoverStaticImpl |
partStatic |
Constructor and Description |
---|
MoverCompositeImpl()
Parameter-less contructor for the message.
|
MoverCompositeImpl(MoverCompositeImpl original)
Cloning constructor.
|
MoverCompositeImpl(MoverLocalImpl partLocal,
MoverSharedImpl partShared,
MoverStaticImpl partStatic)
Composite-impl constructor.
|
Modifier and Type | Method and Description |
---|---|
Location |
getBasePos()
Base position of the mover.
|
Location |
getBaseRot()
Base rotation of the mover.
|
double |
getDelayTime()
Delay before starting to open (or before lift starts to move).
|
UnrealId |
getId()
A unique Id of this mover assigned by the game.
|
MoverLocal |
getLocal() |
Location |
getLocation()
Location of the mover.
|
double |
getMoveTime()
How long the mover moves, when it becomes triggered, before it stops.
|
UnrealId |
getNavPointMarker()
Navigation point marking this mover.
|
double |
getOpenTime()
How long the mover stands still when it reaches its destination position.
|
MoverShared |
getShared() |
String |
getState()
Name of the state Mover is currently in.
|
MoverStatic |
getStatic() |
String |
getType()
String class of the mover.
|
Velocity |
getVelocity()
Velocity vector.
|
boolean |
isDamageTrig()
True if the mover needs to be shot to be activated.
|
boolean |
isIsMoving()
Does the mover move right now?
|
boolean |
isVisible()
If the mover is in the field of view of the bot.
|
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
createDisappearEvent, getSimTime, toJsonLiteral
protected MoverStaticImpl partStatic
protected MoverLocalImpl partLocal
public MoverCompositeImpl()
public MoverCompositeImpl(MoverLocalImpl partLocal, MoverSharedImpl partShared, MoverStaticImpl partStatic)
partLocal
- local-part of the messagepartShared
- shared-part of the messagepartStatic
- static-part of the messagepublic MoverCompositeImpl(MoverCompositeImpl original)
original
- public void setSimTime(long SimTime)
Mover
setSimTime
in class Mover
public MoverStatic getStatic()
public MoverLocal getLocal()
public MoverShared getShared()
public UnrealId getId()
Mover
getId
in interface IWorldObject
getId
in class Mover
public Location getLocation()
Mover
getLocation
in interface ILocated
getLocation
in class Mover
public boolean isVisible()
Mover
public boolean isDamageTrig()
Mover
isDamageTrig
in class Mover
public boolean isIsMoving()
Mover
isIsMoving
in class Mover
public Velocity getVelocity()
Mover
getVelocity
in interface ILocomotive
getVelocity
in class Mover
public double getMoveTime()
Mover
getMoveTime
in class Mover
public double getOpenTime()
Mover
getOpenTime
in class Mover
public Location getBasePos()
Mover
getBasePos
in class Mover
public Location getBaseRot()
Mover
getBaseRot
in class Mover
public double getDelayTime()
Mover
getDelayTime
in class Mover
public String getState()
Mover
public UnrealId getNavPointMarker()
Mover
getNavPointMarker
in class Mover
public String toHtmlString()
toHtmlString
in class Mover
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.