'use strict'; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); var PlayerId = /*#__PURE__*/function () { function PlayerId() { var playerName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; (0, _classCallCheck2.default)(this, PlayerId); this.playerSocket = null; this.playerName = playerName; this.connected = false; this.isPlayingGameId = -1; } (0, _createClass2.default)(PlayerId, [{ key: "getSocket", value: function getSocket() { return this.playerSocket; } }, { key: "setSocket", value: function setSocket(socket) { this.playerSocket = socket; } }, { key: "setPlayerName", value: function setPlayerName(playerName) { this.playerName = playerName; } }, { key: "setPlayerColor", value: function setPlayerColor(playerColor) { this.playerColor = playerColor; } }, { key: "setConnected", value: function setConnected(connected) { this.connected = connected; } }, { key: "isConnected", value: function isConnected() { return this.connected; } }]); return PlayerId; }(); exports.default = PlayerId; //# sourceMappingURL=player-id.js.map