@Override
    public void run() {
        try {
            stadium.addClient(this);
        } catch (InterruptedException ex) {
            Logger.getLogger(Client.class.getName()).log(Level.SEVERE, null, ex);
        }
        while(this.state < 6){
            try {
                Thread.sleep(1000/60);
                if(this.state == 2){
                    fun--;
                }
                if(this.fun < 0){
                    this.counter = 51;
                    this.state = 4;
                    //System.out.println("Cliente abandonando el estadio");
                }
                if(this.state == 4){
                    counter = 100;
                }
                if(counter > 50){
                    try {
                        stadium.removeClient(this);
                    } catch (InterruptedException ex) {
                        Logger.getLogger(Client.class.getName()).log(Level.SEVERE, null, ex);
                    }
                }
            } catch (InterruptedException ex) {
                Logger.getLogger(Client.class.getName()).log(Level.SEVERE, null, ex);
            }
            
        }
    }