Package arc.scene.actions
Class LayoutAction
java.lang.Object
arc.scene.Action
arc.scene.actions.LayoutAction
- All Implemented Interfaces:
Pool.Poolable
Sets an actor's
layout
to enabled or disabled. The actor must implements
Layout
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
act
(float delta) Updates the action based on time.boolean
void
setLayoutEnabled
(boolean enabled)
-
Constructor Details
-
LayoutAction
public LayoutAction()
-
-
Method Details
-
act
public boolean act(float delta) Description copied from class:Action
Updates the action based on time. Typically this is called each frame byElement.act(float)
. -
isEnabled
public boolean isEnabled() -
setLayoutEnabled
public void setLayoutEnabled(boolean enabled)
-