UNPKG

poker-odds-calc-test

Version:
23 lines (22 loc) 638 B
import Player from "./Player"; import Board from "./Board"; import Game from "./Game"; export default class Card { private suit; private num; private game; private owner; private rank; readonly str: string; constructor(suit: "c" | "s" | "h" | "d", num: number | string, game: Game); toString(): string; color(): "white" | "red"; inPlay(): boolean; setOwner(owner: Player | Board): this; isAce(): boolean; isLowAce(): boolean; setAsLowAce(): this; getRank(leading_zero?: boolean): any; getSuit(): "s" | "c" | "h" | "d"; getNum(): string | number; }