UNPKG

preferans-paper-js

Version:
23 lines 617 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); const pref_paper_entry_1 = require("./pref.paper.entry"); class PrefPaperEntryHat extends pref_paper_entry_1.default { constructor() { super(); this._crossed = false; } set crossed(crossed) { this._crossed = crossed; } get crossed() { return this._crossed; } get isHat() { return true; } get json() { return { hat: this._crossed ? -1 : 1 }; } } exports.default = PrefPaperEntryHat; //# sourceMappingURL=pref.paper.entry.hat.js.map