public class IsometricTileLayerRenderer extends java.lang.Object implements TileLayerRenderer
TileLayer
sConstructor and Description |
---|
IsometricTileLayerRenderer(TiledMap tiledMap,
boolean cacheLayers) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
drawLayer(Graphics g,
TileLayer layer,
int renderX,
int renderY,
int startTileX,
int startTileY,
int widthInTiles,
int heightInTiles)
Renders a
TileLayer |
public IsometricTileLayerRenderer(TiledMap tiledMap, boolean cacheLayers)
public void drawLayer(Graphics g, TileLayer layer, int renderX, int renderY, int startTileX, int startTileY, int widthInTiles, int heightInTiles)
TileLayerRenderer
TileLayer
drawLayer
in interface TileLayerRenderer
g
- The Graphics
contextlayer
- The TileLayer
to renderrenderX
- The screen x coordinate to render atrenderY
- The screen y coordinate to render atstartTileX
- The tile x coordinate to start atstartTileY
- The tile y coordinate to start atwidthInTiles
- The width to render in tilesheightInTiles
- The height to render in tilespublic void dispose()
dispose
in interface TileLayerRenderer