monopoly-shared-model
Version:
Shared model for Monopoly
15 lines • 421 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const Box_1 = require("./Box");
const EnumBoxType_1 = require("./enums/EnumBoxType");
class Tax extends Box_1.Box {
constructor(index, name, rent) {
super(index, name, EnumBoxType_1.EnumBoxType.TAX);
this.rent = rent;
}
getRent() {
return this.rent;
}
}
exports.Tax = Tax;
//# sourceMappingURL=Tax.js.map