public void mapSize() {
        carte = new Map();
        JLabel labels[] = new JLabel[(19 * 49)];
        String bufferMap = carte.lire("./ressources/map.txt");

        for (int i = 0, j = 0; i < bufferMap.length(); i++) {
            if (bufferMap.charAt(i) != '\n') {
                colonne = i;
            }
            ligne++;
        }
    }