monopoly-shared-model
Version:
Shared model for Monopoly
19 lines • 658 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const AbstractAction_1 = require("./AbstractAction");
const EnumActionType_1 = require("./EnumActionType");
class HasThrownDicesAction extends AbstractAction_1.AbstractAction {
constructor(playerName, message, dice1, dice2) {
super(EnumActionType_1.EnumActionType.HAS_THROWN_DICES, playerName, message);
this.dice1 = dice1;
this.dice2 = dice2;
}
getDice1() {
return this.dice1;
}
getDice2() {
return this.dice2;
}
}
exports.HasThrownDicesAction = HasThrownDicesAction;
//# sourceMappingURL=HasThrownDicesAction.js.map