Package games.stendhal.client.sprite
Class TilesetAnimationMap
java.lang.Object
games.stendhal.client.sprite.TilesetAnimationMap
A tileset animation map.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TilesetAnimationMap
public TilesetAnimationMap()Create a tileset animation map.
-
-
Method Details
-
getSprite
Get the animated sprite for an indexed tile of a tileset.- Parameters:
tileset
- The tileset to load from.index
- The index with-in the tileset.- Returns:
- A sprite, or
null
if no mapped sprite.
-