UNPKG

phaser3-rex-plugins-types

Version:

[![npm](https://img.shields.io/npm/v/phaser3-rex-plugins-types.svg)](https://www.npmjs.com/package/phaser3-rex-plugins-types) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![B

35 lines (22 loc) 878 B
declare module 'phaser3-rex-plugins/plugins/board/chess/ChessData' { import Board from 'phaser3-rex-plugins/plugins/board/board/Board'; import {GetTileDirectionType} from 'phaser3-rex-plugins/plugins/board/chess/GetTileDirection'; interface GetTileDirection { getTileDirection: GetTileDirectionType; } export default class Chess implements GetTileDirection { parent: any; board: any; blocker: any; constructor(parent: any, uid: any); boot(): void; destroy(): void; setBoard(board: Board): this; get tileXYZ(): any; setTileZ(tileZ: any): this | undefined; setBlocker(value?: any): this; setBlockEdge(direction: any, value?: any): this; getBlockEdge(direction: any): any; getTileDirection(tileX: number, tileY: number): number; } }