mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
parent
b8da5a1d44
commit
ac72220dc0
@ -41,10 +41,9 @@ import com.esotericsoftware.spine.attachments.Attachment;
|
|||||||
* See SkeletonData {@link SkeletonData#defaultSkin}, Skeleton {@link Skeleton#skin}, and
|
* See SkeletonData {@link SkeletonData#defaultSkin}, Skeleton {@link Skeleton#skin}, and
|
||||||
* <a href="http://esotericsoftware.com/spine-runtime-skins">Runtime skins</a> in the Spine Runtimes Guide. */
|
* <a href="http://esotericsoftware.com/spine-runtime-skins">Runtime skins</a> in the Spine Runtimes Guide. */
|
||||||
public class Skin {
|
public class Skin {
|
||||||
static private final Key lookup = new Key();
|
|
||||||
|
|
||||||
final String name;
|
final String name;
|
||||||
final ObjectMap<Key, Attachment> attachments = new ObjectMap();
|
final ObjectMap<Key, Attachment> attachments = new ObjectMap();
|
||||||
|
private final Key lookup = new Key();
|
||||||
final Pool<Key> keyPool = new Pool(64) {
|
final Pool<Key> keyPool = new Pool(64) {
|
||||||
protected Object newObject () {
|
protected Object newObject () {
|
||||||
return new Key();
|
return new Key();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user