/// <summary> /// Should set this object's state equal to that of (setFromMe), /// or throw an UnflattenFormatException if it can't be done. /// </summary> /// <param name="setFromMe>the object we want to be like</param> /// <exception cref="System.InvalidCastException"/> /// public abstract void setEqualTo(Flattenable setFromMe);
public override void setEqualTo(Flattenable setFromMe) { Point p = (Point)setFromMe; set(p.x, p.y); }