mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 02:06:03 +08:00
[libgdx] Added Skin method to iterate attachments.
This commit is contained in:
parent
6705dcd02a
commit
b1cb7faa84
@ -31,6 +31,8 @@
|
||||
|
||||
package com.esotericsoftware.spine;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
import com.badlogic.gdx.utils.Array;
|
||||
import com.badlogic.gdx.utils.ObjectMap;
|
||||
import com.badlogic.gdx.utils.ObjectMap.Entry;
|
||||
@ -93,6 +95,10 @@ public class Skin {
|
||||
return name;
|
||||
}
|
||||
|
||||
public Iterator<Attachment> attachments () {
|
||||
return attachments.values().iterator();
|
||||
}
|
||||
|
||||
public String toString () {
|
||||
return name;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user