public Torso(Torso another) { Atom refAtom = null; try { if (another.Atom != null) { refAtom = (Atom)another.Atom.Clone(); } } catch (Exception e) { e.ToString(); } atom = refAtom; }
public int AddTorso(Torso item) { return torso.Add(item); }
public override bool Equals(object o) { if (o == null || GetType() != o.GetType()) { return false; } Torso other = new Torso((Torso)o); if (this.Atom != null) { if (!this.Atom.Equals(other.Atom)) { return false; } } return true; }