monopoly-shared-model
Version:
Shared model for Monopoly
19 lines • 725 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const EnumActionType_1 = require("./EnumActionType");
const AbstractPropertyAction_1 = require("./AbstractPropertyAction");
class MustPayRentAction extends AbstractPropertyAction_1.AbstractPropertyAction {
constructor(playerName, message, propertyIndex, toPlayer, amount) {
super(EnumActionType_1.EnumActionType.MUST_PAY_RENT, playerName, message, propertyIndex);
this.toPlayer = toPlayer;
this.amount = amount;
}
getToPlayer() {
return this.toPlayer;
}
getAmount() {
return this.amount;
}
}
exports.MustPayRentAction = MustPayRentAction;
//# sourceMappingURL=MustPayRentAction.js.map