public abstract class MapRenderer extends Object
Constructor | Description |
---|---|
MapRenderer() |
Initialize the map renderer base to be non-contextual.
|
MapRenderer(boolean contextual) |
Initialize the map renderer base with the given contextual status.
|
Modifier and Type | Method | Description |
---|---|---|
void |
initialize(MapView map) |
Initialize this MapRenderer for the given map.
|
boolean |
isContextual() |
Get whether the renderer is contextual, i.e.
|
abstract void |
render(MapView map,
MapCanvas canvas,
Player player) |
Render to the given map.
|
public MapRenderer()
isContextual()
.public MapRenderer(boolean contextual)
contextual
- Whether the renderer is contextual. See isContextual()
.public final boolean isContextual()
public void initialize(@NotNull MapView map)
map
- The MapView being initialized.Copyright © 2019. All rights reserved.