public override void LoadReference() { if (PointedXmlSpriteReference != null && PointedXmlSpriteReference.Sprite == null) { PointedXmlSpriteReference.LoadReference(); } }
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); }
public override int GetHashCode() { return(base.GetHashCode() ^ PointedXmlSpriteReference.GetHashCode()); }