UNPKG

chessfield

Version:

A TypeScript+ThreeJS library to render a 3D chessboard

14 lines (13 loc) 482 B
import { LoadingManager } from 'three'; import { Store } from './store.ts'; import * as cf from '../resource/chessfield.types.ts'; export declare class GameProvider { private store; static readonly whiteKeys: string[]; pieceMaterials: cf.ColorMaterial; constructor(store: Store); initGamePieces(move: cf.Move): void; loadGlbGeometry(loadingManager: LoadingManager): void; static findLastMove(moves: cf.Move[]): cf.Move | null; private countPieces; }