UNPKG

preferans-score-js

Version:
20 lines 580 B
#!/usr/bin/env node 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); const prefScoreHand_1 = require("./prefScoreHand"); class PrefScoreHandRefa extends prefScoreHand_1.default { constructor() { super(); } get refa() { return true; } set repealed(repealed) { throw new Error('PrefScoreHand::set repealed:Invalid! Cannot have a refa hand repealed.'); } get repealed() { return false; } } exports.default = PrefScoreHandRefa; //# sourceMappingURL=prefScoreHandRefa.js.map