Class TouchableAction
- java.lang.Object
-
- com.badlogic.gdx.scenes.scene2d.Action
-
- com.badlogic.gdx.scenes.scene2d.actions.TouchableAction
-
- All Implemented Interfaces:
Pool.Poolable
public class TouchableAction extends Action
Sets the actor'stouchability
.
-
-
Constructor Summary
Constructors Constructor Description TouchableAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
act(float delta)
Updates the action based on time.Touchable
getTouchable()
void
setTouchable(Touchable touchable)
-
-
-
Method Detail
-
act
public boolean act(float delta)
Description copied from class:Action
Updates the action based on time. Typically this is called each frame byActor.act(float)
.
-
getTouchable
public Touchable getTouchable()
-
setTouchable
public void setTouchable(Touchable touchable)
-
-