public interface Downloader
Modifier and Type | Method and Description |
---|---|
Tile |
downloadTile(Tile tile)
Gets a tile from the data source.
|
java.lang.Object[] |
getCrashImage(int w,
int h)
Gets the image that represent a crash tile
|
java.lang.Object[] |
getDownloadingImage(int w,
int h)
Gets the image that represent a tile while is downloading
|
Tile |
readTileFromDisk(Tile tile)
Reads a tile from the tile cache.
|
Tile downloadTile(Tile tile) throws TileGettingException
tile
- Tile informationparam
- Additional parameterTileGettingException
Tile readTileFromDisk(Tile tile) throws TileGettingException
tile
- TileGettingException
java.lang.Object[] getDownloadingImage(int w, int h)
java.lang.Object[] getCrashImage(int w, int h)