Package games.stendhal.client.sprite
Interface Tileset
- All Known Implementing Classes:
SpriteTileset
public interface Tileset
A tileset.
-
Method Summary
-
Method Details
-
getSize
int getSize()Get the number of tiles.- Returns:
- The number of tiles.
-
getSprite
Get the sprite for an index tile of a tileset.- Parameters:
index
- The index with-in the tileset.- Returns:
- A sprite, or
null
if no mapped sprite.
-