monopoly-shared-model
Version:
Shared model for Monopoly
19 lines • 755 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const AbstractPropertyAction_1 = require("./AbstractPropertyAction");
const EnumActionType_1 = require("./EnumActionType");
class CanBuyPropertyAction extends AbstractPropertyAction_1.AbstractPropertyAction {
constructor(playerName, message, propertyIndex, propertyName, price) {
super(EnumActionType_1.EnumActionType.CAN_BUY_PROPERTY, playerName, message, propertyIndex);
this.propertyName = propertyName;
this.price = price;
}
getPropertyName() {
return this.propertyName;
}
getPrice() {
return this.price;
}
}
exports.CanBuyPropertyAction = CanBuyPropertyAction;
//# sourceMappingURL=CanBuyPropertyAction.js.map