Explorar el Código

[ts] Fixed constraints in skins.

badlogic hace 6 años
padre
commit
eff7a1502d

+ 1 - 1
spine-as3/spine-as3/src/spine/Skin.as

@@ -42,7 +42,7 @@ package spine {
 			_name = name;
 		}
 
-		public function addAttachment(slotIndex : int, name : String, attachment : Attachment) : void {
+		public function setAttachment(slotIndex : int, name : String, attachment : Attachment) : void {
 			if (attachment == null) throw new ArgumentError("attachment cannot be null.");
 			if (slotIndex >= attachments.length) attachments.length = slotIndex + 1;
 			if (!attachments[slotIndex]) attachments[slotIndex] = new Dictionary();

+ 1 - 1
spine-ts/build/spine-all.d.ts

@@ -781,7 +781,7 @@ declare module spine {
 		name: string;
 		attachments: Map<Attachment>[];
 		bones: BoneData[];
-		constraints: SlotData[];
+		constraints: Constraint[];
 		constructor(name: string);
 		setAttachment(slotIndex: number, name: string, attachment: Attachment): void;
 		addSkin(skin: Skin): void;

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
spine-ts/build/spine-all.js.map


+ 1 - 1
spine-ts/build/spine-canvas.d.ts

@@ -781,7 +781,7 @@ declare module spine {
 		name: string;
 		attachments: Map<Attachment>[];
 		bones: BoneData[];
-		constraints: SlotData[];
+		constraints: Constraint[];
 		constructor(name: string);
 		setAttachment(slotIndex: number, name: string, attachment: Attachment): void;
 		addSkin(skin: Skin): void;

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
spine-ts/build/spine-canvas.js.map


+ 1 - 1
spine-ts/build/spine-core.d.ts

@@ -781,7 +781,7 @@ declare module spine {
 		name: string;
 		attachments: Map<Attachment>[];
 		bones: BoneData[];
-		constraints: SlotData[];
+		constraints: Constraint[];
 		constructor(name: string);
 		setAttachment(slotIndex: number, name: string, attachment: Attachment): void;
 		addSkin(skin: Skin): void;

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
spine-ts/build/spine-core.js.map


+ 1 - 1
spine-ts/build/spine-player.d.ts

@@ -781,7 +781,7 @@ declare module spine {
 		name: string;
 		attachments: Map<Attachment>[];
 		bones: BoneData[];
-		constraints: SlotData[];
+		constraints: Constraint[];
 		constructor(name: string);
 		setAttachment(slotIndex: number, name: string, attachment: Attachment): void;
 		addSkin(skin: Skin): void;

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
spine-ts/build/spine-player.js.map


+ 1 - 1
spine-ts/build/spine-threejs.d.ts

@@ -781,7 +781,7 @@ declare module spine {
 		name: string;
 		attachments: Map<Attachment>[];
 		bones: BoneData[];
-		constraints: SlotData[];
+		constraints: Constraint[];
 		constructor(name: string);
 		setAttachment(slotIndex: number, name: string, attachment: Attachment): void;
 		addSkin(skin: Skin): void;

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
spine-ts/build/spine-threejs.js.map


+ 1 - 1
spine-ts/build/spine-webgl.d.ts

@@ -781,7 +781,7 @@ declare module spine {
 		name: string;
 		attachments: Map<Attachment>[];
 		bones: BoneData[];
-		constraints: SlotData[];
+		constraints: Constraint[];
 		constructor(name: string);
 		setAttachment(slotIndex: number, name: string, attachment: Attachment): void;
 		addSkin(skin: Skin): void;

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
spine-ts/build/spine-webgl.js.map


+ 1 - 1
spine-ts/core/src/Skin.ts

@@ -36,7 +36,7 @@ module spine {
 		name: string;
 		attachments = new Array<Map<Attachment>>();
 		bones = Array<BoneData>();
-		constraints = new Array<SlotData>();
+		constraints = new Array<Constraint>();
 
 		constructor (name: string) {
 			if (name == null) throw new Error("name cannot be null.");

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio