public class LayoutAction extends Action
| Constructor and Description |
|---|
LayoutAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
act(float delta)
Updates the action based on time.
|
boolean |
isEnabled() |
void |
setActor(Actor actor)
Sets the actor this action will be used for.
|
void |
setLayoutEnabled(boolean enabled) |
public void setActor(Actor actor)
Actionpool
then the action is returned to the pool (which calls Action.reset()) and the pool is set to null.
If the action does not have a pool, Action.reset() is called.
This method is not typically a good place for a subclass to query the actor's state because the action may not be executed
for some time, eg it may be delayed. The actor's state is best queried in the first call to
Action.act(float). For a TemporalAction, use TemporalAction#begin().
public boolean act(float delta)
ActionActor.act(float).public boolean isEnabled()
public void setLayoutEnabled(boolean enabled)