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(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(MapView map)
map
- The MapView being initialized.Copyright © 2022. All rights reserved.