API reference

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

I

interfaceTileAnimationFrame

@codexo/exojs-tilemap / tilemap / stable

One frame of a tile animation: which local tile to show, and for how long. Mirrors Tiled's per-tile animation frame model.

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

One frame of a tile animation: which local tile to show, and for how long. Mirrors Tiled's per-tile animation frame model.

Properties2
duration: number
Frame duration in milliseconds.
localTileId: number
Local tile ID shown during this frame (within the tile's own tileset).
Source