Example usage for com.badlogic.gdx.scenes.scene2d Action setActor

List of usage examples for com.badlogic.gdx.scenes.scene2d Action setActor

Introduction

In this page you can find the example usage for com.badlogic.gdx.scenes.scene2d Action setActor.

Prototype

public void setActor(Actor actor) 

Source Link

Document

Sets the actor this action will be used for.

Usage

From source file:es.eucm.ead.engine.effects.TransformEngineObject.java

License:Open Source License

private void addAction(Action a) {
    a.setActor(actor);
    action.addAction(a);
}

From source file:it.alcacoop.backgammon.actions.MyParallelAction.java

License:Apache License

public void addAction(Action action) {
    actions.add(action);
    if (actor != null)
        action.setActor(actor);
}