瀏覽代碼

Added setColor method.

Was hard for people to figure out.
NathanSweet 10 年之前
父節點
當前提交
1a480cd707
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java

+ 4 - 0
spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java

@@ -402,6 +402,10 @@ public class Skeleton {
 		return color;
 	}
 
+	public void setColor (Color color) {
+		this.color.set(color);
+	}
+
 	public boolean getFlipX () {
 		return flipX;
 	}