Class AfterAction

All Implemented Interfaces:
Pool.Poolable

public class AfterAction extends DelegateAction
Executes an action only after all other actions on the actor at the time this action's target was set have finished.
  • Constructor Details

    • AfterAction

      public AfterAction()
  • Method Details

    • setTarget

      public void setTarget(Element target)
      Description copied from class: Action
      Sets the actor this action will manipulate. If no target actor is set, Action.setActor(Element) will set the target actor when the action is added to an actor.
      Overrides:
      setTarget in class DelegateAction
    • restart

      public void restart()
      Description copied from class: Action
      Sets the state of the action so it can be run again.
      Overrides:
      restart in class DelegateAction
    • delegate

      protected boolean delegate(float delta)
      Specified by:
      delegate in class DelegateAction