Example usage for com.badlogic.gdx.scenes.scene2d.actions SequenceAction SequenceAction

List of usage examples for com.badlogic.gdx.scenes.scene2d.actions SequenceAction SequenceAction

Introduction

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

Prototype

public SequenceAction(Action action1) 

Source Link

Usage

From source file:com.jmolina.orb.screens.BaseScreen.java

License:Open Source License

/**
 * Devuelve una accion de transicion hacia afuera
 *//*from   w  ww . ja  va 2s . c o m*/
private Action toOutsideAction() {
    return new SequenceAction(parallel(fadeOut(TRANSITION_DURATION, INTERPOLATION_IN),
            scaleTo(SIZE_LARGE, SIZE_LARGE, TRANSITION_DURATION, INTERPOLATION_IN)));
}

From source file:com.jmolina.orb.screens.BaseScreen.java

License:Open Source License

/**
 * Devuelve una accion de transicion hacia adentro
 *///from   w  w w  .ja  v  a  2 s.  co  m
private Action toInsideAction() {
    return new SequenceAction(parallel(fadeOut(TRANSITION_DURATION, INTERPOLATION_IN),
            scaleTo(SIZE_SMALL, SIZE_SMALL, TRANSITION_DURATION, INTERPOLATION_IN)));
}