monopoly-shared-model
Version:
Shared model for Monopoly
22 lines • 573 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const Serializable_1 = require("../Serializable");
class DiceThrow extends Serializable_1.Serializable {
constructor(playerName, dice1, dice2) {
super();
this.playerName = playerName;
this.dice1 = dice1;
this.dice2 = dice2;
}
getPlayerName() {
return this.playerName;
}
getDice1() {
return this.dice1;
}
getDice2() {
return this.dice2;
}
}
exports.DiceThrow = DiceThrow;
//# sourceMappingURL=DiceThrow.js.map