From 0cbf91d7fd37e4d7e9058e82ce1bb1aab7c6faca Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Mon, 29 Apr 2019 17:32:47 +0200 Subject: [PATCH] Removed Skin#getAttachments. --- .../spine-libgdx/src/com/esotericsoftware/spine/Skin.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skin.java b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skin.java index 6db8cfd7e..5c5f205fd 100644 --- a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skin.java +++ b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skin.java @@ -101,12 +101,6 @@ public class Skin { if (entry.key.slotIndex == slotIndex) attachments.add(entry.value); } - public void getAttachments (Array attachments) { - if (attachments == null) throw new IllegalArgumentException("attachments cannot be null."); - for (Attachment attachment : this.attachments.values()) - attachments.add(attachment); - } - public void clear () { for (Key key : attachments.keys()) keyPool.free(key);