public void Remove(Joint joint)
        {
            if (joint == null)
                throw new ArgumentNullException("joint", "Can't remove null joint");

            jointRemoveList.Add(joint);
        }
        public void Add(Joint joint)
        {
            if (joint == null)
                throw new ArgumentNullException("joint", "Can't add null joint");

            if (!jointAddList.Contains(joint))
            {
                jointAddList.Add(joint);
            }
        }
 public void Remove(Joint joint)
 {
     jointRemoveList.Add(joint);
 }
Exemple #4
0
 /// <summary>
 /// Adds the specified joint.
 /// </summary>
 /// <param name="joint">The joint.</param>
 public void Add(Joint joint)
 {
     _joints.Add(joint);
 }
 public void Add(Joint joint)
 {
     if (!jointAddList.Contains(joint))
     {
         jointAddList.Add(joint);
     }
 }