Fixed attachment timeline test.

This commit is contained in:
NathanSweet 2019-04-30 15:46:15 +02:00
parent 3281d8c006
commit ab2b08f583
2 changed files with 11 additions and 3 deletions

View File

@ -50,8 +50,16 @@ public class AttachmentTimelineTests {
skeletonData.getSlots().add(new SlotData(0, "slot", boneData));
Attachment attachment1 = new Attachment("attachment1") {};
Attachment attachment2 = new Attachment("attachment2") {};
Attachment attachment1 = new Attachment("attachment1") {
public Attachment copy () {
return null;
}
};
Attachment attachment2 = new Attachment("attachment2") {
public Attachment copy () {
return null;
}
};
Skin skin = new Skin("skin");
skin.setAttachment(0, "attachment1", attachment1);

View File

@ -49,5 +49,5 @@ abstract public class Attachment {
}
/** Returns a copy of the attachment. **/
public abstract Attachment copy ();
abstract public Attachment copy ();
}