public abstract class MapRenderer
extends java.lang.Object
构造器和说明 |
---|
MapRenderer()
Initialize the map renderer base to be non-contextual.
|
MapRenderer(boolean contextual)
Initialize the map renderer base with the given contextual status.
|
限定符和类型 | 方法和说明 |
---|---|
void |
initialize(MapView map)
Initialize this MapRenderer for the given map.
|
boolean |
isContextual()
Get whether the renderer is contextual, i.e. has different canvases for
different players.
|
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.