Package arc.scene.actions
Class AfterAction
java.lang.Object
arc.scene.Action
arc.scene.actions.DelegateAction
arc.scene.actions.AfterAction
- All Implemented Interfaces:
Pool.Poolable
Executes an action only after all other actions on the actor at the time this action's target was set have finished.
-
Field Summary
Fields inherited from class arc.scene.actions.DelegateAction
action
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AfterAction
public AfterAction()
-
-
Method Details
-
setTarget
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 classDelegateAction
-
restart
public void restart()Description copied from class:Action
Sets the state of the action so it can be run again.- Overrides:
restart
in classDelegateAction
-
delegate
protected boolean delegate(float delta) - Specified by:
delegate
in classDelegateAction
-