1 |
- {"version":3,"sources":["../../src/players/player-id.js"],"names":["PlayerId","playerName","playerSocket","connected","isPlayingGameId","socket","playerColor"],"mappings":"AAAA;;;;;;;;;;;;;IAEqBA,Q;AACnB,sBAA6B;AAAA,QAAjBC,UAAiB,uEAAJ,EAAI;AAAA;AAC3B,SAAKC,YAAL,GAAoB,IAApB;AACA,SAAKD,UAAL,GAAkBA,UAAlB;AACA,SAAKE,SAAL,GAAiB,KAAjB;AACA,SAAKC,eAAL,GAAuB,CAAC,CAAxB;AACD;;;;gCAEW;AACV,aAAO,KAAKF,YAAZ;AACD;;;8BACSG,M,EAAQ;AAChB,WAAKH,YAAL,GAAoBG,MAApB;AACD;;;kCACaJ,U,EAAY;AACxB,WAAKA,UAAL,GAAkBA,UAAlB;AACD;;;mCACcK,W,EAAa;AAC1B,WAAKA,WAAL,GAAmBA,WAAnB;AACD;;;iCACYH,S,EAAW;AACtB,WAAKA,SAAL,GAAiBA,SAAjB;AACD;;;kCACa;AACZ,aAAO,KAAKA,SAAZ;AACD","sourcesContent":["'use strict';\n\nexport default class PlayerId {\n constructor(playerName = '') {\n this.playerSocket = null;\n this.playerName = playerName;\n this.connected = false;\n this.isPlayingGameId = -1;\n }\n\n getSocket() {\n return this.playerSocket;\n }\n setSocket(socket) {\n this.playerSocket = socket;\n }\n setPlayerName(playerName) {\n this.playerName = playerName;\n }\n setPlayerColor(playerColor) {\n this.playerColor = playerColor;\n }\n setConnected(connected) {\n this.connected = connected;\n }\n isConnected() {\n return this.connected;\n }\n}\n"],"file":"player-id.js"}
|