monopoly-shared-model
Version:
Shared model for Monopoly
14 lines • 529 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const AbstractAction_1 = require("./AbstractAction");
class AbstractPropertyAction extends AbstractAction_1.AbstractAction {
constructor(type, playerName, message, propertyIndex) {
super(type, playerName, message);
this.propertyIndex = propertyIndex;
}
getPropertyIndex() {
return this.propertyIndex;
}
}
exports.AbstractPropertyAction = AbstractPropertyAction;
//# sourceMappingURL=AbstractPropertyAction.js.map