public ImageIcon[][] getColorGrid() {
        Piece piece;
        ImageIcon[][] tab = new ImageIcon[plateau.getTailleX()][plateau.getTailleY()];
        for (int i = 0; i < plateau.getTailleX(); i++) {
            for (int j = 0; j < plateau.getTailleY(); j++) {
                piece=new Piece(plateau.getPlateau()[i][j]);
                tab[i][j] =piece.getFrame();
            }
        }
        return tab;
    }