'use strict'; export default class PlayerId { constructor(playerSocket, playerName = '', playerColor = 'unk') { this.playerSocket = playerSocket; this.playerName = playerName; this.playerColor = playerColor; } setPlayerName(playerName) { this.playerName = playerName; } setPlayerColor(playerColor) { this.playerColor = playerColor; } }