[libgdx] Made Skin lookup object non-static.

closes #911
This commit is contained in:
NathanSweet 2017-05-28 23:15:58 +02:00
parent b8da5a1d44
commit ac72220dc0

View File

@ -41,10 +41,9 @@ import com.esotericsoftware.spine.attachments.Attachment;
* 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. */
public class Skin {
static private final Key lookup = new Key();
final String name;
final ObjectMap<Key, Attachment> attachments = new ObjectMap();
private final Key lookup = new Key();
final Pool<Key> keyPool = new Pool(64) {
protected Object newObject () {
return new Key();