public class MovementInterruptEvent extends VisualEvent
Constructor and Description |
---|
MovementInterruptEvent(java.lang.Object source,
java.lang.String affectedSpatialObjectName,
double[] stoppedAtPosition,
TimeInstant occurredTime)
Constructs a MovementInterruptEvent.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getStoppedAtPosition()
Returns the position where the involved object has to be when this event occurs.
|
getOccurredTime, getTargetName
public MovementInterruptEvent(java.lang.Object source, java.lang.String affectedSpatialObjectName, double[] stoppedAtPosition, TimeInstant occurredTime)
source
- The object on which the event initially occurred.affectedSpatialObjectName
- The name of the object who's
movement is interrupted.stoppedAtPosition
- The position where the performer has to be when this event occurs.occurredTime
- The TimeInstant when the event occurred.