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

public Class TouchableAction

extends Action
Class Inheritance
Imports
com.badlogic.gdx.scenes.scene2d.Action, .Actor, .Touchable

Sets the actor's touchability.
Author
Nathan Sweet

Field Summary

Modifier and TypeField and Description
private Touchable
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 Touchable
public void
Inherited from com.badlogic.gdx.scenes.scene2d.Action:
getActorgetPoolgetTargetresetrestartsetActorsetPoolsetTargettoString

Field Detail

touchableback to summary
private Touchable touchable

Constructor Detail

TouchableActionback to summary
public TouchableAction()

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).

getTouchableback to summary
public Touchable getTouchable()
setTouchableback to summary
public void setTouchable(Touchable touchable)