A Renderer that outputs ASCII art maps.
Type | Name and description |
---|---|
private List |
characters The List of characters used to display the map |
private java.awt.Image |
renderer The Image Renderer |
private int |
width The 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