API reference

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

I

interfaceTileRegion

@codexo/exojs-tilemap / tilemap / stable

A half-open tile-coordinate rectangle covering `[x, x + width)` × `[y, y + height)`. Used to scope buildTileCollisionGeometry to part of a layer - a streamed chunk, the tiles around the player, a hand-picked room - instead of always rebuilding the whole map.

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

A half-open tile-coordinate rectangle covering `[x, x + width)` × `[y, y + height)`.

Used to scope buildTileCollisionGeometry to part of a layer - a streamed chunk, the tiles around the player, a hand-picked room - instead of always rebuilding the whole map.

Properties4
height: number
Height in tiles.
width: number
Width in tiles.
x: number
Leftmost tile column (inclusive).
y: number
Topmost tile row (inclusive).
Source