public interface MapRenderer
Map objects| Modifier and Type | Method and Description |
|---|---|
void |
render()
Renders all the layers of a map.
|
void |
render(int[] layers)
Renders the given layers of a map.
|
void |
setView(Matrix4 projectionMatrix,
float viewboundsX,
float viewboundsY,
float viewboundsWidth,
float viewboundsHeight)
Sets the projection matrix for rendering, as well as the bounds of the map which should be rendered.
|
void |
setView(OrthographicCamera camera)
Sets the projection matrix and viewbounds from the given camera.
|
void setView(OrthographicCamera camera)
camera - the OrthographicCameravoid setView(Matrix4 projectionMatrix, float viewboundsX, float viewboundsY, float viewboundsWidth, float viewboundsHeight)
projectionMatrix - viewboundsX - viewboundsY - viewboundsWidth - viewboundsHeight - void render()
void render(int[] layers)
layers - the layers to render.