mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
Updated Data model (markdown)
parent
a630bb682b
commit
d1c6427d5b
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ Markers data is stored as an unordered array of objects (so element id is _not_
|
|||
* `lock`: `boolean` - `true` if marker is locked (not affected by regeneration). Optional
|
||||
|
||||
## Routes
|
||||
Routes data is stored as an ordered array of objects (so element id is the array index). Object structure:
|
||||
Routes data is stored as an unordered array of objects (so element id is _not_ the array index). Object structure:
|
||||
* `i`: `number` - route id. Please note the element with id `0` is a fully valid route, not a placeholder
|
||||
* `points`: `number[]` - array of control points in format `[x, y, cellId]`
|
||||
* `feature`: `number` - feature id of the route. Auto-generated routes cannot be place on multiple features
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue