public class TileCacheBase<T extends TileSourceInfo>
extends java.lang.Object
Component layer cache base class
Modifier and Type | Field and Description |
---|---|
protected |
tilesource |
Constructor and Description |
---|
TileCacheBase() |
Modifier and Type | Method and Description |
---|---|
void |
clear(java.lang.String mapName, Rectangle2D bounds) |
protected |
connectTileSource(T config) |
void |
dispose() |
TilesetInfo[] |
getTilesetInfos(java.lang.String mapName)
Gets all the tile information for a given map.
|
boolean |
init(T config) |
protected void |
insureInited() |
boolean |
isAvailable() |
public boolean init(T config)
protected connectTileSource(T config)
protected void insureInited()
public void dispose()
public void clear(java.lang.String mapName, Rectangle2D bounds)
public TilesetInfo[] getTilesetInfos(java.lang.String mapName)
mapName
-public boolean isAvailable()