Class TextureAtlas.Sprite
java.lang.Object
de.gurkenlabs.litiengine.resources.TextureAtlas.Sprite
- Enclosing class:
- TextureAtlas
public static class TextureAtlas.Sprite
extends java.lang.Object
Method Summary
Modifier and Type Method Description int
getHeight()
java.lang.String
getName()
int
getOffsetX()
int
getOffsetY()
int
getWidth()
int
getX()
int
getY()
boolean
isRotated()
void
setHeight(int height)
void
setName(java.lang.String name)
void
setOffsetX(int offsetX)
void
setOffsetY(int offsetY)
void
setRotated(boolean rotated)
void
setWidth(int width)
void
setX(int x)
void
setY(int y)
Method Details
getName
public java.lang.String getName()getX
public int getX()getY
public int getY()getWidth
public int getWidth()getHeight
public int getHeight()getOffsetX
public int getOffsetX()getOffsetY
public int getOffsetY()isRotated
public boolean isRotated()setName
public void setName(java.lang.String name)setX
public void setX(int x)setY
public void setY(int y)setWidth
public void setWidth(int width)setHeight
public void setHeight(int height)setOffsetX
public void setOffsetX(int offsetX)setOffsetY
public void setOffsetY(int offsetY)setRotated
public void setRotated(boolean rotated)