chessfield
Version:
A TypeScript+ThreeJS library to render a 3D chessboard
12 lines (11 loc) • 347 B
TypeScript
import { Group } from 'three';
import { Store } from './store.ts';
import * as cg from 'chessground/types';
export declare class PieceProvider {
private readonly store;
static getPiece(pieceId: string): cg.Role;
private piecesPositions;
constructor(store: Store);
updateGamePositions(): Group;
private getSquaresVector3;
}