A Renderer that outputs ASCII art maps.
| Type | Name and description |
|---|---|
private List |
charactersThe List of characters used to display the map |
private java.awt.Image |
rendererThe Image Renderer |
private int |
widthThe maximum output width |
| Constructor and description |
|---|
ASCII
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String |
render(Map map)Render the Map to a Type
|
|
void |
render(Map map, OutputStream out)Render the Map to the OutputStream
|
The List of characters used to display the map
The Image Renderer
The maximum output width
Render the Map to a Type
map - The MapRender the Map to the OutputStream
map - The Mapout - The OutputStreamGroovy Documentation