public OpenGLTexture getCharacter(char character) {

        for(int line = 0; line < map.length; line++){

            String list = map[line];

            for(int i = 0; i < list.length(); i++){

                char c = list.charAt(i);

                if(c == character){
                    return sheet.getSprite(i, line);
                }

            }

        }

        return sheet.getSprite(0, 0);

    }