Modifier and Type | Field and Description |
---|---|
Texture |
Animation.currentTexture
The texture that should be displayed by this animation,
according to the amount of time that has elapsed (
Animation.elapsedTime ). |
(package private) Texture |
Sprite.texture
image displayed when rendering this sprite
|
Modifier and Type | Field and Description |
---|---|
(package private) java.util.ArrayList<Texture> |
Animation.textureList
List of the textures that will be displayed in sequence by this animation.
|
java.util.ArrayList<Texture> |
TileMap.tileTextureList
a list containing all the available Tile textures
loaded by the
TileMap.loadTilesetImage(String) method |
Modifier and Type | Method and Description |
---|---|
static Texture |
Texture.load(java.lang.String imageFileName)
Create a Texture from the image file with the given file name.
|
Modifier and Type | Method and Description |
---|---|
void |
Sprite.setTexture(Texture tex)
Set the texture to be displayed when rendering this sprite.
|