Catrobat.IDE.Core.Xml.XmlObjects.Scripts.XmlScript.CreateCommonXML C# (CSharp) Method

CreateCommonXML() protected method

protected CreateCommonXML ( System.Xml.Linq.XElement xRoot ) : void
xRoot System.Xml.Linq.XElement
return void
        protected void CreateCommonXML(XElement xRoot)
        {
            if (Bricks != null)
            {
                XmlParserTempProjectHelper.Script = this;

                xRoot.Add(Bricks.CreateXml());
            }
        }
    }