Пример #1
0
        public BodySet Clone()
        {
            BodySet bs = new BodySet();

            foreach (Body b in bodies)
            {
                bs.AddBody(b.Clone());
            }
            return(bs);
        }
Пример #2
0
 public BodySet AddBodySet(BodySet bodySet)
 {
     bodies.AddRange(bodySet.bodies);
     return(this);
 }