public abstract class MapRenderer extends Object
Constructor and 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 and Description |
---|---|
void |
initialize(@NotNull MapView map)
Initialize this MapRenderer for the given map.
|
boolean |
isContextual()
Get whether the renderer is contextual, i.e.
|
abstract void |
render(@NotNull MapView map,
@NotNull MapCanvas canvas,
@NotNull 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 @NotNull MapView map)
map
- The MapView being initialized.Copyright © 2021. All rights reserved.