public class TileRenderer extends java.lang.Object implements MapRenderable
Constructor and Description |
---|
TileRenderer(TileCacheable tileCache) |
Modifier and Type | Method and Description |
---|---|
protected javafx.scene.shape.Path |
createGrid(int posx,
int posy,
int tilesize) |
TileSource |
getTileSource() |
boolean |
render(MapControlable mapController)
Paints the map.
|
void |
setMonoChrome(boolean monoChrome) |
void |
setTileGridVisible(boolean tileGridVisible) |
void |
setTileSource(TileSource tileSource) |
public TileRenderer(TileCacheable tileCache)
public boolean render(MapControlable mapController)
MapRenderable
render
in interface MapRenderable
protected javafx.scene.shape.Path createGrid(int posx, int posy, int tilesize)
public void setTileSource(TileSource tileSource)
public TileSource getTileSource()
public void setMonoChrome(boolean monoChrome)
public void setTileGridVisible(boolean tileGridVisible)