mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 18:11:24 +01:00
Updated Data model (markdown)
parent
e0208d4e79
commit
03e8729376
1 changed files with 1 additions and 0 deletions
|
|
@ -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`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue