@latticexyz/phaserx / AnimatedTilemap
#
Interface: AnimatedTilemap<TileKeys, LayerKeys, AnimationKeys>
#
Type parameters
#
Hierarchy
VirtualTilemap
<TileKeys
,LayerKeys
>↳
AnimatedTilemap
#
Table of contents
#
Properties
dispose pauseAnimationAt putAnimationAt putTileAt registerAnimation removeAnimationAt resumeAnimationAt 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
#
pauseAnimationAt
• pauseAnimationAt: (coord
: Coord
, layer?
: LayerKeys
) => void
#
Type declaration
▸ (coord
, layer?
): void
#
Parameters
#
Returns
void
#
Defined in
packages/phaserx/src/tilemap/types.ts:23
#
putAnimationAt
• putAnimationAt: (coord
: Coord
, animationKey
: AnimationKeys
, layer?
: LayerKeys
) => void
#
Type declaration
▸ (coord
, animationKey
, layer?
): void
#
Parameters
#
Returns
void
#
Defined in
packages/phaserx/src/tilemap/types.ts:21
#
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
#
registerAnimation
• registerAnimation: (animationKey
: AnimationKeys
, frames
: TileAnimation
<TileKeys
>) => void
#
Type declaration
▸ (animationKey
, frames
): void
#
Parameters
#
Returns
void
#
Defined in
packages/phaserx/src/tilemap/types.ts:25
#
removeAnimationAt
• removeAnimationAt: (coord
: Coord
, layer?
: LayerKeys
) => void
#
Type declaration
▸ (coord
, layer?
): void
#
Parameters
#
Returns
void
#
Defined in
packages/phaserx/src/tilemap/types.ts:22
#
resumeAnimationAt
• resumeAnimationAt: (coord
: Coord
, layer?
: LayerKeys
) => void
#
Type declaration
▸ (coord
, layer?
): void
#
Parameters
#
Returns
void
#
Defined in
packages/phaserx/src/tilemap/types.ts:24
#
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> }
#
Inherited from
#
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