MoveFailCallback: ((pos: Point | null, mov: Point | null, msg: string) => void)

Type declaration

    • (pos: Point | null, mov: Point | null, msg: string): void
    • 监听棋子移动失败函数

      Parameters

      • pos: Point | null

        起始点

      • mov: Point | null

        结束点

      • msg: string

        失败信息

      Returns void

Generated using TypeDoc