UNPKG

@azrogdev/ttt

Version:
15 lines (14 loc) 413 B
import { GameInstance } from '../main.js'; interface PlayerOptions { bot?: boolean; symbol?: string; } declare class Player implements PlayerOptions { bot?: boolean | undefined; symbol?: string | undefined; id: number; private instance; constructor(id: number, instance: GameInstance, options?: PlayerOptions); move(x: number, y: number): void; } export { Player, PlayerOptions };