@latticexyz/phaserx / VirtualTilemap
#
Interface: VirtualTilemap<TileKeys, LayerKeys>
#
Type parameters
#
Hierarchy
ChunkedTilemap
<TileKeys
,LayerKeys
>↳
VirtualTilemap
#
Table of contents
#
Properties
dispose putTileAt setVisible size tileHeight tileWidth tiles visible
#
Properties
#
dispose
• dispose: () => void
#
Type declaration
▸ (): void
#
Returns
void
#
Inherited from
#
Defined in
packages/phaserx/src/tilemap/types.ts:7
#
putTileAt
• putTileAt: (coord
: Coord
, tile
: TileKeys
, layer?
: LayerKeys
, tint?
: number
) => void
#
Type declaration
▸ (coord
, tile
, layer?
, tint?
): void
#
Parameters
#
Returns
void
#
Inherited from
#
Defined in
packages/phaserx/src/tilemap/types.ts:6
#
setVisible
• setVisible: (visible
: boolean
) => void
#
Type declaration
▸ (visible
): void
#
Parameters
#
Returns
void
#
Inherited from
#
Defined in
packages/phaserx/src/tilemap/types.ts:8
#
size
• size: () => number
#
Type declaration
▸ (): number
#
Returns
number
#
Inherited from
#
Defined in
packages/phaserx/src/tilemap/types.ts:5
#
tileHeight
• tileHeight: number
#
Inherited from
#
Defined in
packages/phaserx/src/tilemap/types.ts:11
#
tileWidth
• tileWidth: number
#
Inherited from
#
Defined in
packages/phaserx/src/tilemap/types.ts:10
#
tiles
• tiles: { [key in string]: CoordMap<number> }
#
Defined in
packages/phaserx/src/tilemap/types.ts:16
#
visible
• visible: Object
#
Type declaration
#
Inherited from
#
Defined in
packages/phaserx/src/tilemap/types.ts:9