public class MoveEvent extends VisualEvent
| Constructor and Description |
|---|
MoveEvent(java.lang.Object source,
java.lang.String moverName,
Movement movement,
boolean focusOnTrack,
Vector3d frontSideVec,
TimeInstant occurredTime)
Constructs a MoveEvent.
|
| Modifier and Type | Method and Description |
|---|---|
Vector3d |
getFrontSideVector()
Gets the front side vector if exists.
|
Movement |
getMovement()
Gets the movement which should be performed.
|
boolean |
isFocusedOnTrack()
Shows whether the moving object should focus on the track while performing the movement.
|
getOccurredTime, getTargetNamepublic MoveEvent(java.lang.Object source,
java.lang.String moverName,
Movement movement,
boolean focusOnTrack,
Vector3d frontSideVec,
TimeInstant occurredTime)
source - The object on which the event initially occurred.moverName - The name of the object who's moving.movement - The movement which should be performed.frontSideVec - The front side vector if the focusOnTrack is on.occuredTime - The TimeInstant when the event occurred.public Movement getMovement()
public boolean isFocusedOnTrack()
public Vector3d getFrontSideVector()