Updated Data model (markdown)

Azgaar 2022-07-09 16:44:37 -07:00
parent e0208d4e79
commit 03e8729376

@ -64,6 +64,7 @@ Features represent separate locked areas like islands, lakes and oceans.
* * `cells`: `number` - number of cells in feature
* * `firstCell`: `number` - index of the first (top left) cell in feature
* * `vertices`: `number[]` - indexes of vertices around the feature (perimetric vertices)
** `name`: `string` - name, available for `lake` type only
## Specific cells data
World data is mainly stored in typed arrays within `cells` object in both `grid` and `pack`.