Class LayoutAction
- java.lang.Object
-
- com.badlogic.gdx.scenes.scene2d.Action
-
- com.badlogic.gdx.scenes.scene2d.actions.LayoutAction
-
- All Implemented Interfaces:
Pool.Poolable
public class LayoutAction extends Action
-
-
Constructor Summary
Constructors Constructor Description LayoutAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanact(float delta)Updates the action based on time.booleanisEnabled()voidsetLayoutEnabled(boolean enabled)voidsetTarget(Actor actor)Sets the actor this action will manipulate.
-
-
-
Method Detail
-
setTarget
public void setTarget(Actor actor)
Description copied from class:ActionSets 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.
-
act
public boolean act(float delta)
Description copied from class:ActionUpdates the action based on time. Typically this is called each frame byActor.act(float).
-
isEnabled
public boolean isEnabled()
-
setLayoutEnabled
public void setLayoutEnabled(boolean enabled)
-
-