Skip to content

1681-engine / index / TerrainGrid

Interface: TerrainGrid ​

Defined in: src/tilemap/autotile.ts:31

A grid of terrain ids, row-major. Any id is fine; the rules say what each one is.

Properties ​

cells ​

ts
cells: ArrayLike<number> & object;

Defined in: src/tilemap/autotile.ts:34


height ​

ts
height: number;

Defined in: src/tilemap/autotile.ts:33


width ​

ts
width: number;

Defined in: src/tilemap/autotile.ts:32

Released under the MIT License.