@runox-game/game-engine
Version:
RunoX game engine
17 lines (16 loc) • 444 B
TypeScript
import { IHand } from './hand.model';
export interface IPlayer {
valid: boolean;
readonly id: string;
readonly name: string;
readonly pic: string;
readonly hand: IHand;
}
export declare class Player implements IPlayer {
readonly id: string;
readonly name: string;
readonly pic: string;
readonly hand: IHand;
constructor(id: string, name: string, pic: string);
get valid(): boolean;
}