Exemple #1
0
 public override void FromXml(XElement config, ObjectsMap map, bool invert)
 {
     base.FromXml(config, map, invert);
     Base.FromXml(config, DefaultSharkBaseLength);
     Height.FromXml(config, DefaultSharkHeight);
     Space.FromXml(config, DefaultSharkSpaceLength);
     Invert.FromXml(config, false);
     Invert.Value ^= map.IsMirror ^ invert;
     Angle.FromXml(config, DefaultSharkAngle);
 }
Exemple #2
0
 public override void FromXml(XElement config, ObjectsMap map, bool invert)
 {
     base.FromXml(config, map, invert);
     Offset.FromXml(config, DefaultDoubleOffset);
     DashLength.FromXml(config, DefaultDashLength);
     SpaceLength.FromXml(config, DefaultSpaceLength);
     Invert.FromXml(config, false);
     Invert.Value ^= map.IsMirror ^ invert;
     CenterSolid.FromXml(config, false);
 }