|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.map.MapRenderer
public abstract class MapRenderer
Represents a renderer for a map.
| Constructor Summary | |
|---|---|
MapRenderer()
Initialize the map renderer base to be non-contextual. |
|
MapRenderer(boolean contextual)
Initialize the map renderer base with the given contextual status. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapRenderer()
isContextual().
public MapRenderer(boolean contextual)
contextual - Whether the renderer is contextual. See isContextual().| Method Detail |
|---|
public final boolean isContextual()
public void initialize(MapView map)
map - The MapView being initialized.
public abstract void render(MapView map,
MapCanvas canvas,
Player player)
map - The MapView being rendered to.canvas - The canvas to use for rendering.player - The player who triggered the rendering.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||