Exemple #1
0
        public BodySet Clone()
        {
            BodySet bs = new BodySet();

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