public Client(TcpListener listener, int id) { this.listener = listener; this.id = id; Player = new Player(id); }
public Client(int id) { this.id = id; Player = new Player(id); isConnected = true; }
public void addPlayer(Player player) { this.players.Add(player); }