Inheritance: XmlObjectNode
        public override bool Equals(System.Object obj)
        {
            XmlScriptList s = obj as XmlScriptList;

            if ((object)s == null)
            {
                return(false);
            }

            return(this.Equals(s));
        }
 public bool Equals(XmlScriptList s)
 {
     return(this.Scripts.Equals(s.Scripts));
 }
        internal override void LoadFromXml(XElement xRoot)
        {
            XmlParserTempProjectHelper.Sprite = this;

            if (xRoot.Element(XmlConstants.XmlLookListType) != null)
            {
                 Looks = new XmlLookList(xRoot.Element(XmlConstants.XmlLookListType));
            }

            Name = xRoot.Attribute(XmlConstants.Name).Value;

            if (xRoot.Element(XmlConstants.XmlSoundList) != null)
            {
                Sounds = new XmlSoundList(xRoot.Element(XmlConstants.XmlSoundList));
            }
            if (xRoot.Element(XmlConstants.ScriptList) != null)
            {
                Scripts = new XmlScriptList(xRoot.Element(XmlConstants.ScriptList));
            }
        }
 public bool Equals(XmlScriptList s)
 {
     return this.Scripts.Equals(s.Scripts);
 }
 public XmlSprite()
 {
     Scripts = new XmlScriptList();
     Looks = new XmlLookList();
     Sounds = new XmlSoundList();
 }