UNPKG

monopoly-shared-model

Version:

Shared model for Monopoly

22 lines 598 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Serializable_1 = require("../Serializable"); class AbstractAction extends Serializable_1.Serializable { constructor(type, playerName, message) { super(); this.type = type; this.playerName = playerName; this.message = message; } getType() { return this.type; } getMessage() { return this.message; } getPlayerName() { return this.playerName; } } exports.AbstractAction = AbstractAction; //# sourceMappingURL=AbstractAction.js.map