Renamed TextureAtlasAttachmentLoader. Was too damned long and didn't match spine-c.

This commit is contained in:
NathanSweet 2013-03-29 22:13:22 +01:00
parent 103cd30758
commit 446e18dccd
3 changed files with 6 additions and 6 deletions

View File

@ -35,7 +35,7 @@ import com.esotericsoftware.spine.Animation.TranslateTimeline;
import com.esotericsoftware.spine.attachments.RegionAttachment; import com.esotericsoftware.spine.attachments.RegionAttachment;
import com.esotericsoftware.spine.attachments.RegionSequenceAttachment; import com.esotericsoftware.spine.attachments.RegionSequenceAttachment;
import com.esotericsoftware.spine.attachments.RegionSequenceAttachment.Mode; import com.esotericsoftware.spine.attachments.RegionSequenceAttachment.Mode;
import com.esotericsoftware.spine.attachments.TextureAtlasAttachmentLoader; import com.esotericsoftware.spine.attachments.AtlasAttachmentLoader;
import com.badlogic.gdx.files.FileHandle; import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.Color;
@ -63,7 +63,7 @@ public class SkeletonBinary {
private float scale = 1; private float scale = 1;
public SkeletonBinary (TextureAtlas atlas) { public SkeletonBinary (TextureAtlas atlas) {
attachmentLoader = new TextureAtlasAttachmentLoader(atlas); attachmentLoader = new AtlasAttachmentLoader(atlas);
} }
public SkeletonBinary (AttachmentLoader attachmentLoader) { public SkeletonBinary (AttachmentLoader attachmentLoader) {

View File

@ -35,7 +35,7 @@ import com.esotericsoftware.spine.Animation.TranslateTimeline;
import com.esotericsoftware.spine.attachments.RegionAttachment; import com.esotericsoftware.spine.attachments.RegionAttachment;
import com.esotericsoftware.spine.attachments.RegionSequenceAttachment; import com.esotericsoftware.spine.attachments.RegionSequenceAttachment;
import com.esotericsoftware.spine.attachments.RegionSequenceAttachment.Mode; import com.esotericsoftware.spine.attachments.RegionSequenceAttachment.Mode;
import com.esotericsoftware.spine.attachments.TextureAtlasAttachmentLoader; import com.esotericsoftware.spine.attachments.AtlasAttachmentLoader;
import com.badlogic.gdx.files.FileHandle; import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.Color;
@ -58,7 +58,7 @@ public class SkeletonJson {
private float scale = 1; private float scale = 1;
public SkeletonJson (TextureAtlas atlas) { public SkeletonJson (TextureAtlas atlas) {
attachmentLoader = new TextureAtlasAttachmentLoader(atlas); attachmentLoader = new AtlasAttachmentLoader(atlas);
} }
public SkeletonJson (AttachmentLoader attachmentLoader) { public SkeletonJson (AttachmentLoader attachmentLoader) {

View File

@ -32,10 +32,10 @@ import com.esotericsoftware.spine.AttachmentType;
import com.badlogic.gdx.graphics.g2d.TextureAtlas; import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.badlogic.gdx.graphics.g2d.TextureAtlas.AtlasRegion; import com.badlogic.gdx.graphics.g2d.TextureAtlas.AtlasRegion;
public class TextureAtlasAttachmentLoader implements AttachmentLoader { public class AtlasAttachmentLoader implements AttachmentLoader {
private TextureAtlas atlas; private TextureAtlas atlas;
public TextureAtlasAttachmentLoader (TextureAtlas atlas) { public AtlasAttachmentLoader (TextureAtlas atlas) {
if (atlas == null) throw new IllegalArgumentException("atlas cannot be null."); if (atlas == null) throw new IllegalArgumentException("atlas cannot be null.");
this.atlas = atlas; this.atlas = atlas;
} }