private void parseMeshRenderer(String line)
    {
        int intIndex;
        intIndex = line.indexOf("mPath=\"");
        String tpath = "", mpath = "";

        if (intIndex == -1)
            System.out.println("MeshRenderers require a model path!");
        else
        {
            int t = intIndex + 7;
            char c = ' ';
            String number = "";

            while (c != "\"".charAt(0))
            {
                c = line.charAt(t);
                number = number + line.charAt(t);
                if (t < line.length() - 1) t++;
            }
            number = number.replace(" ", "");
            number = number.replace("\"", "");

            mpath = number.replace("./res/models/", "");
            mpath = mpath.replace(".\\res\\models\\", "");
            System.out.println("Model Path: " + number);

            intIndex = line.indexOf("tPath=\"");

            if (intIndex == -1)
                System.out.println("MeshRenderers require a texture path!");
            else
            {
            	t = intIndex + 7;
                c = ' ';
                number = "";

                while (c != "\"".charAt(0))
                {
                    c = line.charAt(t);
                    number = number + line.charAt(t);
                    if (t < line.length() - 1) t++;
                }
                number = number.replace(" ", "");
                number = number.replace("\"", "");

                tpath = number.replace("./res/textures/", "");
                System.out.println("Texture Path: " + number);
            }
        }
        
        intIndex = line.indexOf("parent=");
        int parent = 0;
        
        if (intIndex == -1)
            System.out.println("Camera type GameComponents require a parent setting!");
        else
        {
            t = intIndex + 7;
            number = "";
            c = "a".charAt(0);
            while (c != ' ')
            {
                c = line.charAt(t);
                number = number + line.charAt(t);
                if (t < line.length()) t++;
            }
            number = number.replaceAll("\\s+","");

            parent = Integer.parseInt(number);
            System.out.println("MeshRenderer Parent: " + number);
        }
        
        Material mat = new Material();
        mat.addTexture("diffuse", new Texture(tpath));
        MeshRenderer mr = new MeshRenderer(new Mesh(mpath), mat);
        
        Objects.get(parent).addComponent(mr);
        
    }