All Implemented Interfaces:
Action, RoleStateChange, IAnnotatedComponent, IComponentExecutionControl

public class ActionTimer extends ActionBase
  • Field Details

    • timer

      protected final Timer timer
    • action

      protected final Timer.TimerAction action
    • minStartValue

      protected double minStartValue
    • maxStartValue

      protected double maxStartValue
    • minRestartValue

      protected double minRestartValue
    • maxValue

      protected double maxValue
    • rate

      protected double rate
    • increaseValue

      protected double increaseValue
    • modifyRepeating

      protected boolean modifyRepeating
    • repeating

      protected boolean repeating
  • Constructor Details

  • Method Details

    • execute

      public boolean execute(@Nonnull Ref<EntityStore> ref, @Nonnull Role role, InfoProvider sensorInfo, double dt, @Nonnull Store<EntityStore> store)
      Specified by:
      execute in interface Action
      Overrides:
      execute in class ActionBase
    • executeRestartAction

      protected void executeRestartAction()
    • executeModifyAction

      protected void executeModifyAction()
    • executeContinueAction

      protected void executeContinueAction()
    • executePauseAction

      protected void executePauseAction()
    • executeStopAction

      protected void executeStopAction()
    • executeStartAction

      protected void executeStartAction()