Example usage for com.badlogic.gdx.scenes.scene2d Actor getActions

List of usage examples for com.badlogic.gdx.scenes.scene2d Actor getActions

Introduction

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

Prototype

public Array<Action> getActions() 

Source Link

Usage

From source file:org.catrobat.catroid.content.actions.StopAllScriptsAction.java

License:Open Source License

@Override
protected void update(float percent) {
    Array<Actor> stageActors = StageActivity.stageListener.getStage().getActors();
    for (Actor actor : stageActors) {
        for (Action action : actor.getActions()) {
            action.reset();/*w ww.  j a v  a2 s  .  c  o  m*/
        }
    }
}