@Override
    public void run() {        
        int i = 0;
        int random = (int) Math.round(Math.random() * 2);
        setImage(images[random]);
        
        while(true) {
            do{                
                i++;
                xPosition -= 1;
                
                gameVue.repaint();
                
                try {
                    sleep((long) 50);
                } catch (InterruptedException ex) {System.out.println("erreur"); }
            
            } while(i < (646 + 230));
            
            i = 0;
            xPosition = 646;
            yPosition = (int) Math.round(Math.random() * (510 - 135));
            
            random = (int) Math.round(Math.random() * 2);
            setImage(images[random]);
        }
    }