public void removePlayer(ServerClientThread player) {
        players.remove(player);
        for (actor.Actor a: actors)
            if (a.getId().getPlayerId() == player.getPlayer().getPlayerId())
                actors.remove(a);
        
    }