Class DeferrableAction

All Implemented Interfaces:
Action, Deferrable, RoleStateChange, IAnnotatedComponent, IComponentExecutionControl
Direct Known Subclasses:
ActionPlaySound, ActionSpawnInteraction, ActionSpawnParticles

public abstract class DeferrableAction extends ActionBase implements Deferrable
Base for actions that fire after a configured Delay by capturing their sensor-derived inputs at execute time and completing via the deferred-action queue (a self-contained continuation per fire), rather than by being re-executed in place. Because each fire's countdown and captured position live on the continuation concurrent fires are independent, so these are safe inside a ForEach without IsolatePerTarget.
  • Method Details

    • isDeferred

      public boolean isDeferred()
      Specified by:
      isDeferred in interface Deferrable
      Returns:
      true when this instance is configured to defer (its delay is greater than zero).