public class RemoveAction extends Action
| Constructor and Description |
|---|
RemoveAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
act(float delta)
Updates the action based on time.
|
Action |
getAction() |
Actor |
getTargetActor() |
void |
reset()
Resets the optional state of this action to as if it were newly created, allowing the action to be pooled and reused.
|
void |
setAction(Action action) |
void |
setTargetActor(Actor actor)
Sets the actor to remove an action from.
|
public boolean act(float delta)
ActionActor.act(float).public Actor getTargetActor()
public void setTargetActor(Actor actor)
actor will be used.public Action getAction()
public void setAction(Action action)
public void reset()
Action
The default implementation calls Action.restart().
If a subclass has optional state, it must override this method, call super, and reset the optional state.
reset in interface Pool.Poolablereset in class Action