BitAlchemists/Elenears-Erben — Issue #61: A player can see a camp on the map
Author: Tomen
Created: 2012-01-10 10:25:47+00:00
State: open

The MapsController renders a list of settlements to the map-JSON, similar to the units list.
The MapRenderer will display the settlements.

Example:

{
"xSize":10,
"ySize":10,
"data":[[{"type":0},{"type":0},{"type":0},{"type":0},{"type":0},{"type":0},{"type":0},{"type":0},{"type":0},{"type":0}],[{"type":0},{"type":0},{"type":0},{"type":0},{"type":1},{"type":1},{"type":0},{"type":0},{"type":0},{"type":0}],[{"type":0},{"type":0},{"type":0},{"type":1},{"type":1},{"type":1},{"type":1},{"type":0},{"type":0},{"type":0}],[{"type":0},{"type":0},{"type":0},{"type":1},{"type":0},{"type":0},{"type":1},{"type":0},{"type":0},{"type":0}],[{"type":0},{"type":0},{"type":1},{"type":1},{"type":0},{"type":0},{"type":1},{"type":1},{"type":0},{"type":0}],[{"type":0},{"type":0},{"type":1},{"type":0},{"type":0},{"type":0},{"type":0},{"type":1},{"type":0},{"type":0}],[{"type":0},{"type":1},{"type":1},{"type":1},{"type":1},{"type":1},{"type":1},{"type":1},{"type":1},{"type":0}],[{"type":0},{"type":1},{"type":0},{"type":0},{"type":0},{"type":0},{"type":0},{"type":0},{"type":1},{"type":0}],[{"type":1},{"type":1},{"type":0},{"type":0},{"type":0},{"type":0},{"type":0},{"type":0},{"type":1},{"type":1}],[{"type":0},{"type":0},{"type":0},{"type":0},{"type":0},{"type":0},{"type":0},{"type":0},{"type":0},{"type":0}]],
"units":[{"type":"0","xPos":5,"yPos":1,"count":5}],
"settlements":[{"type":0, "xPos":7, "yPos":2}]
}