public class BasicTessellator extends java.lang.Object implements Tessellator, TileFactory
Constructor and Description |
---|
BasicTessellator() |
Modifier and Type | Method and Description |
---|---|
Tile |
createTile(Sector sector,
Level level,
int row,
int column)
Returns a tile for a specified sector, level within a
LevelSet , and row and column within that level. |
double |
getDetailControl() |
LevelSet |
getLevelSet() |
boolean |
mustAssembleTilePoints(RenderContext rc,
TerrainTile tile) |
void |
setDetailControl(double detailControl) |
void |
setLevelSet(LevelSet levelSet) |
void |
tessellate(RenderContext rc) |
public LevelSet getLevelSet()
public void setLevelSet(LevelSet levelSet)
public double getDetailControl()
public void setDetailControl(double detailControl)
public void tessellate(RenderContext rc)
tessellate
in interface Tessellator
public Tile createTile(Sector sector, Level level, int row, int column)
TileFactory
LevelSet
, and row and column within that level.createTile
in interface TileFactory
sector
- the sector spanned by the tilelevel
- the level at which the tile lies within a LevelSetrow
- the row within the specified levelcolumn
- the column within the specified levelpublic boolean mustAssembleTilePoints(RenderContext rc, TerrainTile tile)