UNPKG

card-factory

Version:

A comprehensive library for card manipulation

19 lines 700 B
import Card from "../card"; import { PlayingCardType } from "./playCard.types"; /** * @props suit, symbol, number, value, color * @methods updateValue(newValue) */ export default class PlayingCard extends Card implements PlayingCardType { suit: PlayingCardType["suit"]; symbol: PlayingCardType["symbol"]; number: PlayingCardType["number"]; value: PlayingCardType["value"]; color: PlayingCardType["color"]; constructor(number: PlayingCardType["number"], suit: PlayingCardType["suit"], value?: number); private getCardValue; private getCardSymbol; private getCardColor; updateValue: (newValue: number) => void; } //# sourceMappingURL=playingCardClass.d.ts.map