Class SleepAction

java.lang.Object
net.storm.api.interact.SleepAction
All Implemented Interfaces:
Automation

public class SleepAction extends Object implements Automation
Represents a delay/pause action within the automation queue.

When this action is processed from the automation queue, it causes the interaction system to pause before processing subsequent actions. This is useful for adding timing delays between automated interactions.

Use cases include:

  • Waiting for animations to complete
  • Adding natural-looking delays between actions
  • Synchronizing with game tick timing
  • Waiting for interfaces to open/close

Note: This is a marker class - the sleep duration and behavior are determined by the interaction system's implementation, typically waiting for one game tick.

See Also:
  • Constructor Details

    • SleepAction

      public SleepAction()