Move measurement options to map settings
This commit is contained in:
@@ -14,11 +14,18 @@ const GRID_TYPE_NOT_IMPLEMENTED = new Error("Grid type not implemented");
|
||||
* @property {Vector2} bottomRight Bottom right position of the inset
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef GridMeasurement
|
||||
* @property {("chebyshev"|"alternating"|"euclidean"|"manhattan")} type
|
||||
* @property {string} scale
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef Grid
|
||||
* @property {GridInset} inset The inset of the grid from the map
|
||||
* @property {Vector2} size The number of columns and rows of the grid as `x` and `y`
|
||||
* @property {("square"|"hexVertical"|"hexHorizontal")} type
|
||||
* @property {GridMeasurement} measurement
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user