UNPKG

@gobstones/gs-board-tsx

Version:
15 lines (14 loc) 704 B
import { Board } from "./Board"; import { CellLocation } from "./BoardComponent"; import { CellInfo } from "@gobstones/gobstones-gbb-parser"; export declare class StaticBoard extends Board { constructor(columnsQuantity: number, rowsQuantity: number, boardInfo: CellInfo[][] | undefined); addNBlackAtOn(_c: CellLocation, _n: number): Board; addNBlueAtOn(_c: CellLocation, _n: number): Board; addNGreenAtOn(_c: CellLocation, _n: number): Board; addNRedAtOn(_c: CellLocation): Board; removeNBlackAt(_c: CellLocation, _n: number): Board; removeNBlueAt(_c: CellLocation, _n: number): Board; removeNGreenAt(_c: CellLocation): Board; removeNRedAt(_c: CellLocation): Board; }