mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-06 18:56:54 +08:00
Fixed attachment timeline test.
This commit is contained in:
parent
3281d8c006
commit
ab2b08f583
@ -50,8 +50,16 @@ public class AttachmentTimelineTests {
|
|||||||
|
|
||||||
skeletonData.getSlots().add(new SlotData(0, "slot", boneData));
|
skeletonData.getSlots().add(new SlotData(0, "slot", boneData));
|
||||||
|
|
||||||
Attachment attachment1 = new Attachment("attachment1") {};
|
Attachment attachment1 = new Attachment("attachment1") {
|
||||||
Attachment attachment2 = new Attachment("attachment2") {};
|
public Attachment copy () {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
Attachment attachment2 = new Attachment("attachment2") {
|
||||||
|
public Attachment copy () {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
Skin skin = new Skin("skin");
|
Skin skin = new Skin("skin");
|
||||||
skin.setAttachment(0, "attachment1", attachment1);
|
skin.setAttachment(0, "attachment1", attachment1);
|
||||||
|
|||||||
@ -49,5 +49,5 @@ abstract public class Attachment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Returns a copy of the attachment. **/
|
/** Returns a copy of the attachment. **/
|
||||||
public abstract Attachment copy ();
|
abstract public Attachment copy ();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user