public IRenderable GenerateRenderable(XElement element, IRenderComponent parent)
        {
            IRenderable renderable = null;

            XAttribute classAttrib = element.Attribute("class"),
                       typeAttrib  = element.Attribute("type");

            if (classAttrib != null && typeAttrib != null)
            {
                Type classType = Type.GetType(classAttrib.Value);

                renderable = (IRenderable)Activator.CreateInstance(classType);
                renderable.Deserialize(element);
                renderable.Load(contentManager);
                renderable.Visible = true;
                renderable.Parent  = parent;
            }
            return(renderable);
        }