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

public Class RemoveActorAction

extends Action
Class Inheritance
Imports
com.badlogic.gdx.scenes.scene2d.Action

Removes an actor from the stage.
Author
Nathan Sweet

Field Summary

Modifier and TypeField and Description
private boolean
Inherited from com.badlogic.gdx.scenes.scene2d.Action:
actortarget

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
act(float delta)

Implements abstract com.badlogic.gdx.scenes.scene2d.Action.act.

Updates the action based on time.

public void
restart()

Overrides com.badlogic.gdx.scenes.scene2d.Action.restart.

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

Inherited from com.badlogic.gdx.scenes.scene2d.Action:
getActorgetPoolgetTargetresetsetActorsetPoolsetTargettoString

Field Detail

removedback to summary
private boolean removed

Constructor Detail

RemoveActorActionback to summary
public RemoveActorAction()

Method Detail

actback to summary
public boolean act(float delta)

Implements abstract com.badlogic.gdx.scenes.scene2d.Action.act.

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

Updates the action based on time. Typically this is called each frame by Actor#act(float).

restartback to summary
public void restart()

Overrides com.badlogic.gdx.scenes.scene2d.Action.restart.

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

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