public class SlideTransition extends Object implements ScreenTransition
| Modifier and Type | Field and Description |
|---|---|
static int |
DOWN |
static int |
LEFT |
static int |
RIGHT |
static int |
UP |
| Constructor and Description |
|---|
SlideTransition() |
| Modifier and Type | Method and Description |
|---|---|
float |
getDuration() |
static SlideTransition |
init(float duration,
int direction,
boolean slideOut,
Interpolation easing) |
void |
render(SpriteBatch batch,
Texture currScreen,
Texture nextScreen,
float alpha) |
public static final int LEFT
public static final int RIGHT
public static final int UP
public static final int DOWN
public static SlideTransition init(float duration, int direction, boolean slideOut, Interpolation easing)
public float getDuration()
getDuration in interface ScreenTransitionpublic void render(SpriteBatch batch, Texture currScreen, Texture nextScreen, float alpha)
render in interface ScreenTransitionCopyright © 2014-2016 gdx2d - https://github.com/hevs-isi/gdx2d