public interface TileLayerRenderer
TileLayer
rendering implementationsModifier 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 |
void drawLayer(Graphics g, TileLayer layer, int renderX, int renderY, int startTileX, int startTileY, int widthInTiles, int heightInTiles)
TileLayer
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 tilesvoid dispose()