示例#1
0
 public override void LoadReference()
 {
     if (PointedXmlSpriteReference != null && PointedXmlSpriteReference.Sprite == null)
     {
         PointedXmlSpriteReference.LoadReference();
     }
 }
示例#2
0
        internal override XElement CreateXml()
        {
            var xRoot = new XElement(XmlConstants.Brick);

            xRoot.SetAttributeValue(XmlConstants.Type, XmlConstants.XmlPointToBrickType);

            if (PointedXmlSpriteReference != null)
            {
                xRoot.Add(PointedXmlSpriteReference.CreateXml());
            }

            return(xRoot);
        }
示例#3
0
 public override int GetHashCode()
 {
     return(base.GetHashCode() ^ PointedXmlSpriteReference.GetHashCode());
 }