Class AfterAction
java.lang.Object
com.prineside.tdi2.scene2d.Action
com.prineside.tdi2.scene2d.actions.DelegateAction
com.prineside.tdi2.scene2d.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.
- Author:
- Nathan Sweet
-
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(Actor)
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
-