@latticexyz/phaserx / ChunkedTilemap

# Interface: ChunkedTilemap<TileKeys, LayerKeys>

# Type parameters

Name Type
TileKeys extends number
LayerKeys extends string

# Hierarchy

# Table of contents

# Properties

  • dispose
  • putTileAt
  • setVisible
  • size
  • tileHeight
  • tileWidth
  • visible

# Properties

# dispose

dispose: () => void

# Type declaration

▸ (): void

# Returns

void

# 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
Name Type
coord Coord
tile TileKeys
layer? LayerKeys
tint? number
# Returns

void

# Defined in

packages/phaserx/src/tilemap/types.ts:6


# setVisible

setVisible: (visible: boolean) => void

# Type declaration

▸ (visible): void

# Parameters
Name Type
visible boolean
# Returns

void

# Defined in

packages/phaserx/src/tilemap/types.ts:8


# size

size: () => number

# Type declaration

▸ (): number

# Returns

number

# Defined in

packages/phaserx/src/tilemap/types.ts:5


# tileHeight

tileHeight: number

# Defined in

packages/phaserx/src/tilemap/types.ts:11


# tileWidth

tileWidth: number

# Defined in

packages/phaserx/src/tilemap/types.ts:10


# visible

visible: Object

# Type declaration

Name Type
current boolean

# Defined in

packages/phaserx/src/tilemap/types.ts:9