Minor changes.

This commit is contained in:
NathanSweet 2014-04-23 01:06:10 +02:00
parent 6cf7dcf413
commit 68238d9032
2 changed files with 2 additions and 4 deletions

View File

@ -132,9 +132,7 @@ public class Animation {
/** Base class for frames that use an interpolation bezier curve. */
abstract static public class CurveTimeline implements Timeline {
static public final float LINEAR = 0;
static public final float STEPPED = -1;
static public final float BEZIER = -2;
static public final float LINEAR = 0, STEPPED = -1, BEZIER = -2;
static private final int BEZIER_SEGMENTS = 10;
private final float[] curves; // dfx, dfy, ddfx, ddfy, dddfx, dddfy, ...

View File

@ -95,7 +95,7 @@ public class MixTest extends ApplicationAdapter {
Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
// This shows how to manage state manually. See AnimationStatesTest.
// This shows how to manage state manually. See SimpleTest1 for a higher level API using AnimationState.
if (time > total) {
// restart
time = 0;