UNPKG

monopoly-shared-model

Version:

Shared model for Monopoly

15 lines 500 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Box_1 = require("./Box"); const EnumBoxType_1 = require("./enums/EnumBoxType"); class CommunityChest extends Box_1.Box { constructor(index, amount) { super(index, 'CAISSE DE COMMUNAUTÉ', EnumBoxType_1.EnumBoxType.COMMUNITY_CHEST); this.amount = amount; } getAmount() { return this.amount; } } exports.CommunityChest = CommunityChest; //# sourceMappingURL=CommunityChest.js.map