API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceLdtkLevelNeighbour
@codexo/exojs-ldtk / ldtk / stable
One entry of a level's `__neighbours` array: an adjacency to another level, plus the direction code LDtk assigned it.
2
props
0
methods
0
events
Import
import { LdtkLevelNeighbour } from '@codexo/exojs-ldtk'One entry of a level's `__neighbours` array: an adjacency to another level, plus the direction code LDtk assigned it.
Properties2
dir: stringDirection code: "n", "s", "e", "w" for the cardinal sides, and "<", ">", "o" for the depth relations LDtk 1.x adds (lower depth, greater depth, overlapping at the same depth). Mapped onto import('@codexo/exojs-tilemap').MapLevelSide by import('./ldtkToMapWorld').ldtkToMapWorld.
levelIid: stringiid of the neighbouring level.
Source