UNPKG

@gobstones/gs-board-tsx

Version:
13 lines (12 loc) 601 B
import { CellLocation } from "./BoardComponent"; import { Board } from "./Board"; export default class EditableBoard extends Board { removeNBlueAt([x, y]: CellLocation, n: number): this; removeNBlackAt([x, y]: CellLocation, n: number): this; removeNRedAt([x, y]: CellLocation, n: number): this; removeNGreenAt([x, y]: CellLocation, n: number): this; addNBlueAtOn([x, y]: CellLocation, n: number): Board; addNBlackAtOn([x, y]: CellLocation, n: number): Board; addNGreenAtOn([x, y]: CellLocation, n: number): Board; addNRedAtOn([x, y]: CellLocation, n: number): Board; }