APIdia Launch Partner
Top Description Fields Constructors Methods
com.badlogic.gdx.scenes.scene2d.actions

public Class AfterAction

extends DelegateAction
Class Inheritance
Imports
com.badlogic.gdx.scenes.scene2d.Action, .Actor, com.badlogic.gdx.utils.Array

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

Field Summary

Modifier and TypeField and Description
private Array<Action>
Inherited from com.badlogic.gdx.scenes.scene2d.actions.DelegateAction:
action

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected boolean
public void
restart()

Overrides com.badlogic.gdx.scenes.scene2d.actions.DelegateAction.restart.

Sets the state of the action so it can be run again.

public void
setTarget(Actor target)

Overrides com.badlogic.gdx.scenes.scene2d.actions.DelegateAction.setTarget.

Sets the actor this action will manipulate.

Inherited from com.badlogic.gdx.scenes.scene2d.actions.DelegateAction:
actgetActionresetsetActionsetActortoString

Field Detail

waitForActionsback to summary
private Array<Action> waitForActions

Constructor Detail

AfterActionback to summary
public AfterAction()

Method Detail

delegateback to summary
protected boolean delegate(float delta)

Implements abstract com.badlogic.gdx.scenes.scene2d.actions.DelegateAction.delegate.

restartback to summary
public void restart()

Overrides com.badlogic.gdx.scenes.scene2d.actions.DelegateAction.restart.

Doc from com.badlogic.gdx.scenes.scene2d.Action.restart.

Sets the state of the action so it can be run again.

setTargetback to summary
public void setTarget(Actor target)

Overrides com.badlogic.gdx.scenes.scene2d.actions.DelegateAction.setTarget.

Doc from com.badlogic.gdx.scenes.scene2d.Action.setTarget.

Sets the actor this action will manipulate. If no target actor is set, setActor(Actor) will set the target actor when the action is added to an actor.