Class TextureAtlas
java.lang.Object
de.gurkenlabs.litiengine.resources.TextureAtlas
public class TextureAtlas
extends java.lang.Object
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TextureAtlas.CustomBooleanAdapter
static class
TextureAtlas.Sprite
Method Summary
Modifier and Type Method Description java.lang.String
getAbsoluteImagePath()
int
getHeight()
TextureAtlas.Sprite
getSprite(java.lang.String name)
java.util.List<TextureAtlas.Sprite>
getSprites()
int
getWidth()
static TextureAtlas
read(java.lang.String textureAtlasFile)
void
setHeight(int height)
void
setImagePath(java.lang.String imagePath)
void
setSprites(java.util.List<TextureAtlas.Sprite> sprites)
void
setWidth(int width)
Method Details
read
getAbsoluteImagePath
public java.lang.String getAbsoluteImagePath()getWidth
public int getWidth()getHeight
public int getHeight()getSprites
getSprite
setImagePath
public void setImagePath(java.lang.String imagePath)setWidth
public void setWidth(int width)setHeight
public void setHeight(int height)setSprites