public class Pause extends Interaction implements Encodable
InputSource should pause for a given duration.| Constructor and Description |
|---|
Pause(InputSource device,
java.time.Duration duration) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
encode() |
protected boolean |
isValidFor(SourceType sourceType) |
getSourcepublic Pause(InputSource device, java.time.Duration duration)
duration - If 0, this means "wait until all other actions in the tick have been
evaluated". Must be greater than 0.protected boolean isValidFor(SourceType sourceType)
isValidFor in class Interaction