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 Detail

      • AfterAction

        public AfterAction()
    • Method Detail

      • setTarget

        public void setTarget​(Actor target)
        Description copied from class: Action
        Sets the actor this action will manipulate. If no target actor is set, Action.setActor(Actor) 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