UNPKG

monopoly-shared-model

Version:

Shared model for Monopoly

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