API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

T

typeTileMapObject

@codexo/exojs-tilemap / tilemap / stable

A format-independent map object. The geometry kind is the discriminant; narrow on `kind` to read shape-specific fields. Template objects are not yet represented. The optional property-shape parameter `P` lets typed accessors (see ObjectLayer.byType) narrow `properties` to a developer-declared schema. It defaults to the generic TileProperties bag, so the plain `TileMapObject` form is unchanged.

0
props
0
methods
0
events
Import
import { TileMapObject } from '@codexo/exojs-tilemap'

A format-independent map object. The geometry kind is the discriminant; narrow on `kind` to read shape-specific fields. Template objects are not yet represented.

The optional property-shape parameter `P` lets typed accessors (see ObjectLayer.byType) narrow `properties` to a developer-declared schema. It defaults to the generic TileProperties bag, so the plain `TileMapObject` form is unchanged.

Definition1
Source