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 HasPaidRentAction extends AbstractPropertyAction_1.AbstractPropertyAction {
constructor(playerName, message, propertyIndex, toPlayer, amount) {
super(EnumActionType_1.EnumActionType.HAS_PAID_RENT, playerName, message, propertyIndex);
this.toPlayer = toPlayer;
this.amount = amount;
}
getToPlayer() {
return this.toPlayer;
}
getAmount() {
return this.amount;
}
}
exports.HasPaidRentAction = HasPaidRentAction;
//# sourceMappingURL=HasPaidRentAction.js.map