UNPKG

card-games-typescript

Version:

Card deck and high or low game library built with TypeScript

13 lines (12 loc) 309 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Bet = void 0; class Bet { constructor(on, ammount) { this.on = on; this.ammount = ammount; this.on = on ? on : 'pass'; this.ammount = ammount > 0 ? ammount : 0; } } exports.Bet = Bet;