NathanSweet 11 жил өмнө
parent
commit
68238d9032

+ 1 - 3
spine-libgdx/src/com/esotericsoftware/spine/Animation.java

@@ -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, ...

+ 1 - 1
spine-libgdx/test/com/esotericsoftware/spine/MixTest.java

@@ -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;