mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-06 18:56:54 +08:00
Removed Skin#getAttachments.
This commit is contained in:
parent
5ebb3db8b6
commit
0cbf91d7fd
@ -101,12 +101,6 @@ public class Skin {
|
|||||||
if (entry.key.slotIndex == slotIndex) attachments.add(entry.value);
|
if (entry.key.slotIndex == slotIndex) attachments.add(entry.value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void getAttachments (Array<Attachment> attachments) {
|
|
||||||
if (attachments == null) throw new IllegalArgumentException("attachments cannot be null.");
|
|
||||||
for (Attachment attachment : this.attachments.values())
|
|
||||||
attachments.add(attachment);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void clear () {
|
public void clear () {
|
||||||
for (Key key : attachments.keys())
|
for (Key key : attachments.keys())
|
||||||
keyPool.free(key);
|
keyPool.free(key);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user